#Header overflow

1 messages · Page 1 of 1 (latest)

frank swift
#

I get this error inside my next 13.4 project when fetching data from an external api

When I am trying to fetch a users guilds from discord api I get this error
```py
- error Error: Parse Error: Header overflow
    at Socket.socketOnData (node:_http_client:542:22)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  bytesParsed: 20339,
  code: 'HPE_HEADER_OVERFLOW',
  reason: 'Header overflow',
  rawPacket: <Buffer 48 54 54 50 2f 31 2e 31 20 33 30 32 20 46 6f 75 6e 64 0d 0a 76 61 72 79 3a 20 52 53 43 2c 20 4e 65 78 74 2d 52 6f 75 74 65 72 2d 53 74 61 74 65 2d 54 ... 33692 more bytes>
}
stark cobaltBOT
#

Hi @frank swift. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. The information extracts provided don't cover this specific error. I recommend checking the Next.js documentation (https://nextjs.org/docs) and Vercel documentation (https://vercel.com/docs) for more information on handling errors and fetching data from external APIs.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

Welcome to the Next.js Documentation.

Vercel Documentation

Vercel's frontend cloud gives developers frameworks, workflows, and infrastructure to build a faster, more personalized web