Skip to content

Evolution API doesn't handle url redirects from Chatwoot #1714

Open
@djgoulart

Description

@djgoulart

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Sent images (jpg, png) from Chatwoot (integrated with S3 bucket) to Evolution API. It is unstable, doesn't work most of the time. Receiving messages is also facing the same issues.

What did you expect?

The attached media is being sent and received normally.

What did you observe instead of what you expected?

The sent/received media is unstable, doesn't work most of the time

Screenshots/Videos

No response

Which version of the API are you using?

v2.3.0

What is your environment?

Windows

Other environment specifications

Linux Hostinger VPS / CloudFlare / Coolify

If applicable, paste the log output

[Evolution API] [teste-diego-tim] v2.3.0 212 - Fri Jul 11 2025 19:05:02 ERROR [ChannelStartupService] [object]
2025-07-11T22:05:02.594915473Z AxiosError: Request failed with status code 404
2025-07-11T22:05:02.594928343Z at settle (/evolution/node_modules/axios/dist/node/axios.cjs:2053:12)
2025-07-11T22:05:02.594933390Z at RedirectableRequest.handleResponse (/evolution/node_modules/axios/dist/node/axios.cjs:3118:9)
2025-07-11T22:05:02.594938067Z at RedirectableRequest.emit (node:events:524:28)
2025-07-11T22:05:02.594942454Z at RedirectableRequest._processResponse (/evolution/node_modules/follow-redirects/index.js:409:10)
2025-07-11T22:05:02.594946880Z at RedirectableRequest._onNativeResponse (/evolution/node_modules/follow-redirects/index.js:102:12)
2025-07-11T22:05:02.594951287Z at Object.onceWrapper (node:events:639:26)
2025-07-11T22:05:02.594955924Z at ClientRequest.emit (node:events:524:28)
2025-07-11T22:05:02.594960431Z at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:702:27)
2025-07-11T22:05:02.594964727Z at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17)
2025-07-11T22:05:02.594968062Z at TLSSocket.socketOnData (node:_http_client:544:22)
2025-07-11T22:05:02.594971267Z at Axios.request (/evolution/node_modules/axios/dist/node/axios.cjs:4280:41)
2025-07-11T22:05:02.594974492Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-07-11T22:05:02.594990895Z at async getHttpStream (/evolution/node_modules/baileys/lib/Utils/messages-media.js:318:21)
2025-07-11T22:05:02.594992969Z at async getStream (/evolution/node_modules/baileys/lib/Utils/messages-media.js:280:26)
2025-07-11T22:05:02.594994922Z at async encryptedStream (/evolution/node_modules/baileys/lib/Utils/messages-media.js:324:30)
2025-07-11T22:05:02.594996814Z at async prepareWAMessageMedia (/evolution/node_modules/baileys/lib/Utils/messages.js:114:96)
2025-07-11T22:05:02.594998947Z at async Bs.prepareMediaMessage (/evolution/dist/main.js:235:15998)
2025-07-11T22:05:02.595000820Z at async Bs.mediaMessage (/evolution/dist/main.js:235:18986)
2025-07-11T22:05:02.595002733Z at async Re.sendAttachment (/evolution/dist/main.js:83:11259)
2025-07-11T22:05:02.595004686Z at async Re.receiveWebhook (/evolution/dist/main.js:85:232) {
2025-07-11T22:05:02.595006579Z code: 'ERR_BAD_REQUEST',
2025-07-11T22:05:02.595008411Z config: {
2025-07-11T22:05:02.595010225Z transitional: {
2025-07-11T22:05:02.595012037Z silentJSONParsing: true,
2025-07-11T22:05:02.595013880Z forcedJSONParsing: true,
2025-07-11T22:05:02.595015723Z clarifyTimeoutError: false
2025-07-11T22:05:02.595017566Z },
2025-07-11T22:05:02.595019378Z adapter: [ 'xhr', 'http', 'fetch' ],
2025-07-11T22:05:02.595021211Z transformRequest: [ [Function: transformRequest] ],
2025-07-11T22:05:02.595023054Z transformResponse: [ [Function: transformResponse] ],
2025-07-11T22:05:02.595024927Z timeout: 0,
2025-07-11T22:05:02.595026729Z xsrfCookieName: 'XSRF-TOKEN',
2025-07-11T22:05:02.595028572Z xsrfHeaderName: 'X-XSRF-TOKEN',
2025-07-11T22:05:02.595030415Z maxContentLength: -1,
2025-07-11T22:05:02.595032668Z maxBodyLength: -1,
2025-07-11T22:05:02.595034591Z env: { FormData: [Function [FormData]], Blob: [class Blob] },
2025-07-11T22:05:02.595036534Z validateStatus: [Function: validateStatus],
2025-07-11T22:05:02.595038387Z headers: Object [AxiosHeaders] {
2025-07-11T22:05:02.595040240Z Accept: 'application/json, text/plain, /',
2025-07-11T22:05:02.595042122Z 'Content-Type': undefined,
2025-07-11T22:05:02.595044005Z 'User-Agent': 'axios/1.10.0',
2025-07-11T22:05:02.595045838Z 'Accept-Encoding': 'gzip, compress, deflate, br'
2025-07-11T22:05:02.595047721Z },
2025-07-11T22:05:02.595049543Z responseType: 'stream',
2025-07-11T22:05:02.595051376Z method: 'get',
2025-07-11T22:05:02.595053269Z url: 'https://chatwoot-stack.linkee.app.br/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBOQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0cfb2850db61f530bce3cf8f0c592d52a509cc07/convite-celula.png',
2025-07-11T22:05:02.595059779Z allowAbsoluteUrls: true,
2025-07-11T22:05:02.595062403Z data: undefined
2025-07-11T22:05:02.595064976Z },
2025-07-11T22:05:02.595067620Z request: <ref *1> ClientRequest {
2025-07-11T22:05:02.595070395Z _events: [Object: null prototype] {
2025-07-11T22:05:02.595073169Z abort: [Function (anonymous)],
2025-07-11T22:05:02.595075752Z aborted: [Function (anonymous)],
2025-07-11T22:05:02.595078306Z connect: [Function (anonymous)],
2025-07-11T22:05:02.595080820Z error: [Function (anonymous)],
2025-07-11T22:05:02.595083444Z socket: [Function (anonymous)],
2025-07-11T22:05:02.595085978Z timeout: [Function (anonymous)],
2025-07-11T22:05:02.595088532Z finish: [Function: requestOnFinish]
2025-07-11T22:05:02.595091166Z },
2025-07-11T22:05:02.595096474Z _eventsCount: 7,
2025-07-11T22:05:02.595099208Z _maxListeners: undefined,
2025-07-11T22:05:02.595101722Z outputData: [],
2025-07-11T22:05:02.595103565Z outputSize: 0,
2025-07-11T22:05:02.595105367Z writable: true,
2025-07-11T22:05:02.595107220Z destroyed: false,
2025-07-11T22:05:02.595109053Z _last: true,
2025-07-11T22:05:02.595110905Z chunkedEncoding: false,
2025-07-11T22:05:02.595112748Z shouldKeepAlive: true,
2025-07-11T22:05:02.595114581Z maxRequestsOnConnectionReached: false,
2025-07-11T22:05:02.595116444Z _defaultKeepAlive: true,
2025-07-11T22:05:02.595118277Z useChunkedEncodingByDefault: false,
2025-07-11T22:05:02.595140088Z sendDate: false,
2025-07-11T22:05:02.595142031Z _removedConnection: false,
2025-07-11T22:05:02.595143884Z _removedContLen: false,
2025-07-11T22:05:02.595145727Z _removedTE: false,
2025-07-11T22:05:02.595147550Z strictContentLength: false,
2025-07-11T22:05:02.595149402Z _contentLength: 0,
2025-07-11T22:05:02.595151305Z _hasBody: true,
2025-07-11T22:05:02.595153198Z _trailer: '',
2025-07-11T22:05:02.595155181Z finished: true,
2025-07-11T22:05:02.595157084Z _headerSent: true,
2025-07-11T22:05:02.595158996Z _closed: false,
2025-07-11T22:05:02.595160940Z socket: TLSSocket {
2025-07-11T22:05:02.595162762Z _tlsOptions: [Object],
2025-07-11T22:05:02.595164585Z _secureEstablished: true,
2025-07-11T22:05:02.595166407Z _securePending: false,
2025-07-11T22:05:02.595168240Z _newSessionPending: false,
2025-07-11T22:05:02.595170063Z _controlReleased: true,
2025-07-11T22:05:02.595176092Z secureConnecting: false,
2025-07-11T22:05:02.595178005Z _SNICallback: null,
2025-07-11T22:05:02.595179868Z servername: 'linkee-chatwoot.s3.us-east-2.amazonaws.com',
2025-07-11T22:05:02.595181750Z alpnProtocol: false,
2025-07-11T22:05:02.595183573Z authorized: true,
2025-07-11T22:05:02.595185386Z authorizationError: null,
2025-07-11T22:05:02.595187199Z encrypted: true,
2025-07-11T22:05:02.595189052Z _events: [Object: null prototype],
2025-07-11T22:05:02.595191235Z _eventsCount: 11,
2025-07-11T22:05:02.595193068Z connecting: false,
2025-07-11T22:05:02.595194880Z _hadError: false,
2025-07-11T22:05:02.595196853Z _parent: null,
2025-07-11T22:05:02.595198686Z _host: 'linkee-chatwoot.s3.us-east-2.amazonaws.com',
2025-07-11T22:05:02.595200709Z _closeAfterHandlingError: false,
2025-07-11T22:05:02.595202622Z _readableState: [ReadableState],
2025-07-11T22:05:02.595204475Z _writableState: [WritableState],
2025-07-11T22:05:02.595206368Z allowHalfOpen: false,
2025-07-11T22:05:02.595208190Z _maxListeners: undefined,
2025-07-11T22:05:02.595210063Z _sockname: null,
2025-07-11T22:05:02.595211896Z _pendingData: null,
2025-07-11T22:05:02.595213879Z _pendingEncoding: '',
2025-07-11T22:05:02.595215712Z server: undefined,
2025-07-11T22:05:02.595217514Z _server: null,
2025-07-11T22:05:02.595219387Z ssl: [TLSWrap],
2025-07-11T22:05:02.595221210Z _requestCert: true,
2025-07-11T22:05:02.595223033Z _rejectUnauthorized: true,
2025-07-11T22:05:02.595224866Z timeout: 5000,
2025-07-11T22:05:02.595226678Z parser: [HTTPParser],
2025-07-11T22:05:02.595228481Z _httpMessage: [Circular *1],
2025-07-11T22:05:02.595230324Z autoSelectFamilyAttemptedAddresses: [Array],
2025-07-11T22:05:02.595232166Z [Symbol(alpncallback)]: null,
2025-07-11T22:05:02.595234009Z [Symbol(res)]: [TLSWrap],
2025-07-11T22:05:02.595235852Z [Symbol(verified)]: true,
2025-07-11T22:05:02.595237705Z [Symbol(pendingSession)]: null,
2025-07-11T22:05:02.595239768Z [Symbol(async_id_symbol)]: 5073,
2025-07-11T22:05:02.595241621Z [Symbol(kHandle)]: [TLSWrap],
2025-07-11T22:05:02.595243463Z [Symbol(lastWriteQueueSize)]: 0,
2025-07-11T22:05:02.595245316Z [Symbol(timeout)]: Timeout {
2025-07-11T22:05:02.595247159Z _idleTimeout: 5000,
2025-07-11T22:05:02.595248992Z _idlePrev: [TimersList],
2025-07-11T22:05:02.595254289Z _idleNext: [Timeout],
2025-07-11T22:05:02.595256202Z _idleStart: 801825,
2025-07-11T22:05:02.595258015Z _onTimeout: [Function: bound ],
2025-07-11T22:05:02.595259878Z _timerArgs: undefined,
2025-07-11T22:05:02.595261721Z _repeat: null,
2025-07-11T22:05:02.595263553Z _destroyed: false,
2025-07-11T22:05:02.595265416Z [Symbol(refed)]: false,
2025-07-11T22:05:02.595267259Z [Symbol(kHasPrimitive)]: false,
2025-07-11T22:05:02.595269162Z [Symbol(asyncId)]: 5075,
2025-07-11T22:05:02.595270985Z [Symbol(triggerId)]: 5064
2025-07-11T22:05:02.595272817Z },
2025-07-11T22:05:02.595274700Z [Symbol(kBuffer)]: null,
2025-07-11T22:05:02.595276583Z [Symbol(kBufferCb)]: null,
2025-07-11T22:05:02.595278415Z [Symbol(kBufferGen)]: null,
2025-07-11T22:05:02.595280269Z [Symbol(shapeMode)]: true,
2025-07-11T22:05:02.595282120Z [Symbol(kCapture)]: false,
2025-07-11T22:05:02.595283993Z [Symbol(kSetNoDelay)]: false,
2025-07-11T22:05:02.595285826Z [Symbol(kSetKeepAlive)]: true,
2025-07-11T22:05:02.595287679Z [Symbol(kSetKeepAliveInitialDelay)]: 60,
2025-07-11T22:05:02.595289522Z [Symbol(kBytesRead)]: 0,
2025-07-11T22:05:02.595291364Z [Symbol(kBytesWritten)]: 0,
2025-07-11T22:05:02.595293197Z [Symbol(connect-options)]: [Object]
2025-07-11T22:05:02.595295029Z },
2025-07-11T22:05:02.595297263Z _header: 'GET /lox9q5atc7egjdfvj6exv7sgw9u3?response-content-disposition=inline%3B%20filename%3D%22convite-celula.png%22%3B%20filename%2A%3DUTF-8%27%27convite-celula.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQXPZC7Y5ZM5OOLP3%2F20250711%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20250711T220502Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=d20af3f61d0cf32af17f24825b484d7e453d0a7656dda5a58ac0880079087574 HTTP/1.1\r\n' +
2025-07-11T22:05:02.595300157Z 'Accept: application/json, text/plain, /\r\n' +
2025-07-11T22:05:02.595302150Z 'User-Agent: axios/1.10.0\r\n' +
2025-07-11T22:05:02.595304103Z 'Accept-Encoding: gzip, compress, deflate, br\r\n' +
2025-07-11T22:05:02.595306006Z 'Host: linkee-chatwoot.s3.us-east-2.amazonaws.com\r\n' +
2025-07-11T22:05:02.595307879Z 'Connection: keep-alive\r\n' +
2025-07-11T22:05:02.595309732Z '\r\n',
2025-07-11T22:05:02.595311654Z _keepAliveTimeout: 0,
2025-07-11T22:05:02.595313558Z _onPendingData: [Function: nop],
2025-07-11T22:05:02.595315450Z agent: Agent {
2025-07-11T22:05:02.595317283Z _events: [Object: null prototype],
2025-07-11T22:05:02.595322391Z _eventsCount: 2,
2025-07-11T22:05:02.595324294Z _maxListeners: undefined,
2025-07-11T22:05:02.595326156Z defaultPort: 443,
2025-07-11T22:05:02.595327969Z protocol: 'https:',
2025-07-11T22:05:02.595329802Z options: [Object: null prototype],
2025-07-11T22:05:02.595331755Z requests: [Object: null prototype] {},
2025-07-11T22:05:02.595333838Z sockets: [Object: null prototype],
2025-07-11T22:05:02.595335921Z freeSockets: [Object: null prototype],
2025-07-11T22:05:02.595337783Z keepAliveMsecs: 1000,
2025-07-11T22:05:02.595339616Z keepAlive: true,
2025-07-11T22:05:02.595341449Z maxSockets: Infinity,
2025-07-11T22:05:02.595343352Z maxFreeSockets: 256,
2025-07-11T22:05:02.595345175Z scheduling: 'lifo',
2025-07-11T22:05:02.595347008Z maxTotalSockets: Infinity,
2025-07-11T22:05:02.595348891Z totalSocketCount: 2,
2025-07-11T22:05:02.595350723Z maxCachedSessions: 100,
2025-07-11T22:05:02.595352566Z _sessionCache: [Object],
2025-07-11T22:05:02.595354419Z [Symbol(shapeMode)]: false,
2025-07-11T22:05:02.595356271Z [Symbol(kCapture)]: false
2025-07-11T22:05:02.595358124Z },
2025-07-11T22:05:02.595359997Z socketPath: undefined,
2025-07-11T22:05:02.595361830Z method: 'GET',
2025-07-11T22:05:02.595363713Z maxHeaderSize: undefined,
2025-07-11T22:05:02.595365575Z insecureHTTPParser: undefined,
2025-07-11T22:05:02.595367428Z joinDuplicateHeaders: undefined,
2025-07-11T22:05:02.595369351Z path: '/lox9q5atc7egjdfvj6exv7sgw9u3?response-content-disposition=inline%3B%20filename%3D%22convite-celula.png%22%3B%20filename%2A%3DUTF-8%27%27convite-celula.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQXPZC7Y5ZM5OOLP3%2F20250711%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20250711T220502Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=d20af3f61d0cf32af17f24825b484d7e453d0a7656dda5a58ac0880079087574',
2025-07-11T22:05:02.595372145Z _ended: false,
2025-07-11T22:05:02.595374028Z res: IncomingMessage {
2025-07-11T22:05:02.595375871Z _events: [Object],
2025-07-11T22:05:02.595377713Z _readableState: [ReadableState],
2025-07-11T22:05:02.595379627Z _maxListeners: undefined,
2025-07-11T22:05:02.595381469Z socket: [TLSSocket],
2025-07-11T22:05:02.595383322Z httpVersionMajor: 1,
2025-07-11T22:05:02.595385155Z httpVersionMinor: 1,
2025-07-11T22:05:02.595387007Z httpVersion: '1.1',
2025-07-11T22:05:02.595389060Z complete: false,
2025-07-11T22:05:02.595390943Z rawHeaders: [Array],
2025-07-11T22:05:02.595396211Z rawTrailers: [],
2025-07-11T22:05:02.595409992Z joinDuplicateHeaders: undefined,
2025-07-11T22:05:02.595411905Z aborted: false,
2025-07-11T22:05:02.595413727Z upgrade: false,
2025-07-11T22:05:02.595415551Z url: '',
2025-07-11T22:05:02.595417363Z method: null,
2025-07-11T22:05:02.595419196Z statusCode: 404,
2025-07-11T22:05:02.595421058Z statusMessage: 'Not Found',
2025-07-11T22:05:02.595422911Z client: [TLSSocket],
2025-07-11T22:05:02.595424774Z _consuming: false,
2025-07-11T22:05:02.595426577Z _dumped: false,
2025-07-11T22:05:02.595428410Z req: [Circular *1],
2025-07-11T22:05:02.595430262Z _eventsCount: 4,
2025-07-11T22:05:02.595432144Z responseUrl: 'https://linkee-chatwoot.s3.us-east-2.amazonaws.com/lox9q5atc7egjdfvj6exv7sgw9u3?response-content-disposition=inline%3B%20filename%3D%22convite-celula.png%22%3B%20filename%2A%3DUTF-8%27%27convite-celula.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQXPZC7Y5ZM5OOLP3%2F20250711%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20250711T220502Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=d20af3f61d0cf32af17f24825b484d7e453d0a7656dda5a58ac0880079087574',
2025-07-11T22:05:02.595434818Z redirects: [],
2025-07-11T22:05:02.595436641Z [Symbol(shapeMode)]: true,
2025-07-11T22:05:02.595438474Z [Symbol(kCapture)]: false,
2025-07-11T22:05:02.595440376Z [Symbol(kHeaders)]: [Object],
2025-07-11T22:05:02.595443041Z [Symbol(kHeadersCount)]: 12,
2025-07-11T22:05:02.595445063Z [Symbol(kTrailers)]: null,
2025-07-11T22:05:02.595446917Z [Symbol(kTrailersCount)]: 0
2025-07-11T22:05:02.595448829Z },
2025-07-11T22:05:02.595450672Z aborted: false,
2025-07-11T22:05:02.595452485Z timeoutCb: [Function: emitRequestTimeout],
2025-07-11T22:05:02.595454347Z upgradeOrConnect: false,
2025-07-11T22:05:02.595456291Z parser: HTTPParser {
2025-07-11T22:05:02.595458214Z '0': null,
2025-07-11T22:05:02.595460297Z '1': [Function: parserOnHeaders],
2025-07-11T22:05:02.595462249Z '2': [Function: parserOnHeadersComplete],
2025-07-11T22:05:02.595464182Z '3': [Function: parserOnBody],
2025-07-11T22:05:02.595466105Z '4': [Function: parserOnMessageComplete],
2025-07-11T22:05:02.595468018Z '5': null,
2025-07-11T22:05:02.595469831Z '6': null,
2025-07-11T22:05:02.595471653Z _headers: [],
2025-07-11T22:05:02.595473546Z _url: '',
2025-07-11T22:05:02.595475449Z socket: [TLSSocket],
2025-07-11T22:05:02.595477342Z incoming: [IncomingMessage],
2025-07-11T22:05:02.595483191Z outgoing: [Circular *1],
2025-07-11T22:05:02.595485995Z maxHeaderPairs: 2000,
2025-07-11T22:05:02.595487908Z _consumed: false,
2025-07-11T22:05:02.595489741Z onIncoming: [Function: parserOnIncomingClient],
2025-07-11T22:05:02.595491714Z joinDuplicateHeaders: undefined,
2025-07-11T22:05:02.595493636Z [Symbol(resource_symbol)]: [HTTPClientAsyncResource]
2025-07-11T22:05:02.595495529Z },
2025-07-11T22:05:02.595497322Z maxHeadersCount: null,
2025-07-11T22:05:02.595499135Z reusedSocket: false,
2025-07-11T22:05:02.595500967Z host: 'linkee-chatwoot.s3.us-east-2.amazonaws.com',
2025-07-11T22:05:02.595502870Z protocol: 'https:',
2025-07-11T22:05:02.595504703Z _redirectable: Writable {
2025-07-11T22:05:02.595506576Z _events: [Object],
2025-07-11T22:05:02.595508388Z _writableState: [WritableState],
2025-07-11T22:05:02.595510492Z _maxListeners: undefined,
2025-07-11T22:05:02.595512375Z _options: [Object],
2025-07-11T22:05:02.595514197Z _ended: true,
2025-07-11T22:05:02.595516010Z _ending: true,
2025-07-11T22:05:02.595517812Z _redirectCount: 1,
2025-07-11T22:05:02.595519615Z _redirects: [],
2025-07-11T22:05:02.595521428Z _requestBodyLength: 0,
2025-07-11T22:05:02.595523241Z _requestBodyBuffers: [],
2025-07-11T22:05:02.595525114Z _eventsCount: 3,
2025-07-11T22:05:02.595526936Z _onNativeResponse: [Function (anonymous)],
2025-07-11T22:05:02.595528799Z _currentRequest: [Circular *1],
2025-07-11T22:05:02.595530702Z _currentUrl: 'https://linkee-chatwoot.s3.us-east-2.amazonaws.com/lox9q5atc7egjdfvj6exv7sgw9u3?response-content-disposition=inline%3B%20filename%3D%22convite-celula.png%22%3B%20filename%2A%3DUTF-8%27%27convite-celula.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQXPZC7Y5ZM5OOLP3%2F20250711%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20250711T220502Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=d20af3f61d0cf32af17f24825b484d7e453d0a7656dda5a58ac0880079087574',
2025-07-11T22:05:02.595533356Z _isRedirect: true,
2025-07-11T22:05:02.595535169Z [Symbol(shapeMode)]: true,
2025-07-11T22:05:02.595537022Z [Symbol(kCapture)]: false
2025-07-11T22:05:02.595538864Z },
2025-07-11T22:05:02.595540657Z [Symbol(shapeMode)]: false,
2025-07-11T22:05:02.595542480Z [Symbol(kCapture)]: false,
2025-07-11T22:05:02.595544322Z [Symbol(kBytesWritten)]: 0,
2025-07-11T22:05:02.595546165Z [Symbol(kNeedDrain)]: false,
2025-07-11T22:05:02.595547988Z [Symbol(corked)]: 0,
2025-07-11T22:05:02.595553055Z [Symbol(kOutHeaders)]: [Object: null prototype] {
2025-07-11T22:05:02.595555018Z accept: [Array],
2025-07-11T22:05:02.595556841Z 'user-agent': [Array],
2025-07-11T22:05:02.595558674Z 'accept-encoding': [Array],
2025-07-11T22:05:02.595560507Z host: [Array]
2025-07-11T22:05:02.595562309Z },
2025-07-11T22:05:02.595564072Z [Symbol(errored)]: null,
2025-07-11T22:05:02.595566105Z [Symbol(kHighWaterMark)]: 16384,
2025-07-11T22:05:02.595567938Z [Symbol(kRejectNonStandardBodyWrites)]: false,
2025-07-11T22:05:02.595569841Z [Symbol(kUniqueHeaders)]: null
2025-07-11T22:05:02.595571664Z },
2025-07-11T22:05:02.595573466Z response: {
2025-07-11T22:05:02.595575279Z status: 404,
2025-07-11T22:05:02.595577051Z statusText: 'Not Found',
2025-07-11T22:05:02.595578894Z headers: Object [AxiosHeaders] {
2025-07-11T22:05:02.595580727Z 'x-amz-request-id': '0M480VGV56X2EVBB',
2025-07-11T22:05:02.595582629Z 'x-amz-id-2': 'LLdRVsK4w/f3fgwNT/CaWUmU3udnPBAFY4rbUtvM1/ci9C1gJS1CJ52n5FyJ9eGw0CwMOZ6fnYM=',
2025-07-11T22:05:02.595584562Z 'content-type': 'application/xml',
2025-07-11T22:05:02.595586384Z 'transfer-encoding': 'chunked',
2025-07-11T22:05:02.595588237Z date: 'Fri, 11 Jul 2025 22:05:01 GMT',
2025-07-11T22:05:02.595590090Z server: 'AmazonS3'
2025-07-11T22:05:02.595591943Z },
2025-07-11T22:05:02.595593786Z config: {
2025-07-11T22:05:02.595595669Z transitional: [Object],
2025-07-11T22:05:02.595597591Z adapter: [Array],
2025-07-11T22:05:02.595599665Z transformRequest: [Array],
2025-07-11T22:05:02.595601507Z transformResponse: [Array],
2025-07-11T22:05:02.595603340Z timeout: 0,
2025-07-11T22:05:02.595605182Z xsrfCookieName: 'XSRF-TOKEN',
2025-07-11T22:05:02.595607086Z xsrfHeaderName: 'X-XSRF-TOKEN',
2025-07-11T22:05:02.595609169Z maxContentLength: -1,
2025-07-11T22:05:02.595611021Z maxBodyLength: -1,
2025-07-11T22:05:02.595612954Z env: [Object],
2025-07-11T22:05:02.595614917Z validateStatus: [Function: validateStatus],
2025-07-11T22:05:02.595616770Z headers: [Object [AxiosHeaders]],
2025-07-11T22:05:02.595618613Z responseType: 'stream',
2025-07-11T22:05:02.595620496Z method: 'get',
2025-07-11T22:05:02.595622389Z url: 'https://chatwoot-stack.linkee.app.br/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBOQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0cfb2850db61f530bce3cf8f0c592d52a509cc07/convite-celula.png',
2025-07-11T22:05:02.595627636Z allowAbsoluteUrls: true,
2025-07-11T22:05:02.595629609Z data: undefined
2025-07-11T22:05:02.595631452Z },
2025-07-11T22:05:02.595633315Z request: <ref *1> ClientRequest {
2025-07-11T22:05:02.595635318Z _events: [Object: null prototype],
2025-07-11T22:05:02.595637271Z _eventsCount: 7,
2025-07-11T22:05:02.595639735Z _maxListeners: undefined,
2025-07-11T22:05:02.595642499Z outputData: [],
2025-07-11T22:05:02.595645143Z outputSize: 0,
2025-07-11T22:05:02.595647707Z writable: true,
2025-07-11T22:05:02.595650280Z destroyed: false,
2025-07-11T22:05:02.595653225Z _last: true,
2025-07-11T22:05:02.595655829Z chunkedEncoding: false,
2025-07-11T22:05:02.595658222Z shouldKeepAlive: true,
2025-07-11T22:05:02.595660676Z maxRequestsOnConnectionReached: false,
2025-07-11T22:05:02.595663390Z _defaultKeepAlive: true,
2025-07-11T22:05:02.595665994Z useChunkedEncodingByDefault: false,
2025-07-11T22:05:02.595668688Z sendDate: false,
2025-07-11T22:05:02.595671432Z _removedConnection: false,
2025-07-11T22:05:02.595674316Z _removedContLen: false,
2025-07-11T22:05:02.595677071Z _removedTE: false,
2025-07-11T22:05:02.595679384Z strictContentLength: false,
2025-07-11T22:05:02.595681247Z _contentLength: 0,
2025-07-11T22:05:02.595683070Z _hasBody: true,
2025-07-11T22:05:02.595684902Z _trailer: '',
2025-07-11T22:05:02.595686735Z finished: true,
2025-07-11T22:05:02.595688568Z _headerSent: true,
2025-07-11T22:05:02.595691232Z _closed: false,
2025-07-11T22:05:02.595693045Z socket: [TLSSocket],
2025-07-11T22:05:02.595695098Z _header: 'GET /lox9q5atc7egjdfvj6exv7sgw9u3?response-content-disposition=inline%3B%20filename%3D%22convite-celula.png%22%3B%20filename%2A%3DUTF-8%27%27convite-celula.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQXPZC7Y5ZM5OOLP3%2F20250711%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20250711T220502Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=d20af3f61d0cf32af17f24825b484d7e453d0a7656dda5a58ac0880079087574 HTTP/1.1\r\n' +
2025-07-11T22:05:02.595697832Z 'Accept: application/json, text/plain, /\r\n' +
2025-07-11T22:05:02.595699764Z 'User-Agent: axios/1.10.0\r\n' +
2025-07-11T22:05:02.595701647Z 'Accept-Encoding: gzip, compress, deflate, br\r\n' +
2025-07-11T22:05:02.595703570Z 'Host: linkee-chatwoot.s3.us-east-2.amazonaws.com\r\n' +
2025-07-11T22:05:02.595705453Z 'Connection: keep-alive\r\n' +
2025-07-11T22:05:02.595707376Z '\r\n',
2025-07-11T22:05:02.595712754Z _keepAliveTimeout: 0,
2025-07-11T22:05:02.595714907Z _onPendingData: [Function: nop],
2025-07-11T22:05:02.595716850Z agent: [Agent],
2025-07-11T22:05:02.595718793Z socketPath: undefined,
2025-07-11T22:05:02.595720746Z method: 'GET',
2025-07-11T22:05:02.595722639Z maxHeaderSize: undefined,
2025-07-11T22:05:02.595724481Z insecureHTTPParser: undefined,
2025-07-11T22:05:02.595726425Z joinDuplicateHeaders: undefined,
2025-07-11T22:05:02.595728327Z path: '/lox9q5atc7egjdfvj6exv7sgw9u3?response-content-disposition=inline%3B%20filename%3D%22convite-celula.png%22%3B%20filename%2A%3DUTF-8%27%27convite-celula.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQXPZC7Y5ZM5OOLP3%2F20250711%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20250711T220502Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=d20af3f61d0cf32af17f24825b484d7e453d0a7656dda5a58ac0880079087574',
2025-07-11T22:05:02.595730951Z _ended: false,
2025-07-11T22:05:02.595732773Z res: [IncomingMessage],
2025-07-11T22:05:02.595734616Z aborted: false,
2025-07-11T22:05:02.595736448Z timeoutCb: [Function: emitRequestTimeout],
2025-07-11T22:05:02.595738321Z upgradeOrConnect: false,
2025-07-11T22:05:02.595740164Z parser: [HTTPParser],
2025-07-11T22:05:02.595742027Z maxHeadersCount: null,
2025-07-11T22:05:02.595743840Z reusedSocket: false,
2025-07-11T22:05:02.595745712Z host: 'linkee-chatwoot.s3.us-east-2.amazonaws.com',
2025-07-11T22:05:02.595747585Z protocol: 'https:',
2025-07-11T22:05:02.595749418Z _redirectable: [Writable],
2025-07-11T22:05:02.595751471Z [Symbol(shapeMode)]: false,
2025-07-11T22:05:02.595753324Z [Symbol(kCapture)]: false,
2025-07-11T22:05:02.595755157Z [Symbol(kBytesWritten)]: 0,
2025-07-11T22:05:02.595757029Z [Symbol(kNeedDrain)]: false,
2025-07-11T22:05:02.595758852Z [Symbol(corked)]: 0,
2025-07-11T22:05:02.595760695Z [Symbol(kOutHeaders)]: [Object: null prototype],
2025-07-11T22:05:02.595762588Z [Symbol(errored)]: null,
2025-07-11T22:05:02.595764410Z [Symbol(kHighWaterMark)]: 16384,
2025-07-11T22:05:02.595766283Z [Symbol(kRejectNonStandardBodyWrites)]: false,
2025-07-11T22:05:02.595768166Z [Symbol(kUniqueHeaders)]: null
2025-07-11T22:05:02.595770019Z },
2025-07-11T22:05:02.595771862Z data: IncomingMessage {
2025-07-11T22:05:02.595773694Z _events: [Object],
2025-07-11T22:05:02.595775547Z _readableState: [ReadableState],
2025-07-11T22:05:02.595777420Z _maxListeners: undefined,
2025-07-11T22:05:02.595785332Z socket: [TLSSocket],
2025-07-11T22:05:02.595787265Z httpVersionMajor: 1,
2025-07-11T22:05:02.595789127Z httpVersionMinor: 1,
2025-07-11T22:05:02.595790960Z httpVersion: '1.1',
2025-07-11T22:05:02.595792813Z complete: false,
2025-07-11T22:05:02.595794616Z rawHeaders: [Array],
2025-07-11T22:05:02.595796579Z rawTrailers: [],
2025-07-11T22:05:02.595798412Z joinDuplicateHeaders: undefined,
2025-07-11T22:05:02.595800264Z aborted: false,
2025-07-11T22:05:02.595802187Z upgrade: false,
2025-07-11T22:05:02.595804010Z url: '',
2025-07-11T22:05:02.595805823Z method: null,
2025-07-11T22:05:02.595807675Z statusCode: 404,
2025-07-11T22:05:02.595809518Z statusMessage: 'Not Found',
2025-07-11T22:05:02.595811361Z client: [TLSSocket],
2025-07-11T22:05:02.595813173Z _consuming: false,
2025-07-11T22:05:02.595814996Z _dumped: false,
2025-07-11T22:05:02.595816839Z req: [ClientRequest],
2025-07-11T22:05:02.595818682Z _eventsCount: 4,
2025-07-11T22:05:02.595820815Z responseUrl: 'https://linkee-chatwoot.s3.us-east-2.amazonaws.com/lox9q5atc7egjdfvj6exv7sgw9u3?response-content-disposition=inline%3B%20filename%3D%22convite-celula.png%22%3B%20filename%2A%3DUTF-8%27%27convite-celula.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQXPZC7Y5ZM5OOLP3%2F20250711%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20250711T220502Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=d20af3f61d0cf32af17f24825b484d7e453d0a7656dda5a58ac0880079087574',
2025-07-11T22:05:02.595823529Z redirects: [],
2025-07-11T22:05:02.595825362Z [Symbol(shapeMode)]: true,
2025-07-11T22:05:02.595827215Z [Symbol(kCapture)]: false,
2025-07-11T22:05:02.595829027Z [Symbol(kHeaders)]: [Object],
2025-07-11T22:05:02.595830880Z [Symbol(kHeadersCount)]: 12,
2025-07-11T22:05:02.595832743Z [Symbol(kTrailers)]: null,
2025-07-11T22:05:02.595834596Z [Symbol(kTrailersCount)]: 0
2025-07-11T22:05:02.595836438Z }
2025-07-11T22:05:02.595838271Z },
2025-07-11T22:05:02.595840154Z status: 404
2025-07-11T22:05:02.595841987Z }
2025-07-11T22:05:02.595843790Z
2025-07-11T22:05:02.595846003Z [Evolution API] v2.3.0 212 - Fri Jul 11 2025 19:05:02 ERROR [ChatwootService] [object]
2025-07-11T22:05:02.595848937Z {
2025-07-11T22:05:02.595850820Z status: 500,
2025-07-11T22:05:02.595855988Z error: 'Internal Server Error',
2025-07-11T22:05:02.595857981Z message: [ 'AxiosError: Request failed with status code 404' ]
2025-07-11T22:05:02.595859904Z }

Additional Notes

If anyone has a workaround, I would be very grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions