snoopyuj

snoopyuj

Member Since 9 years ago

Experience Points
0
follower
Lessons Completed
0
follow
Lessons Completed
2
stars
Best Reply Awards
2
repos

6 contributions in the last year

Pinned
⚡ The Unity tool for quickly selecting any object in the project
⚡ The Unity tool for quickly selecting multiple gameobjects in the scene
Activity
Apr
25
3 weeks ago
Activity icon
issue

snoopyuj issue comment darobin/notion-backup

snoopyuj
snoopyuj

Header overflow issue

Hi!

I found it sometimes causes header overflow problem like below.

Error: Parse Error: Header overflow
    at TLSSocket.socketOnData (_http_client.js:474:22)
    at TLSSocket.emit (events.js:314:20)
    at addChunk (_stream_readable.js:297:12)
    at readableAddChunk (_stream_readable.js:272:9)
    at TLSSocket.Readable.push (_stream_readable.js:213:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:1[8]
    ...

In this case, I could solve this problem by adding a node option to workflow file.

      - name: Run backup
        run: notion-backup
        env:
          NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
          NOTION_SPACE_ID: ${{ secrets.NOTION_SPACE_ID }}
          NODE_OPTIONS: "--max-http-header-size 15000"    # ADD THIS LINE
Activity icon
issue

snoopyuj issue comment darobin/notion-backup

snoopyuj
snoopyuj

Error: Process completed with exit code 1.

Hi!

There was an error occurred when backup run: "Error: Process completed with exit code 1."

I have checked my NOTION_SPACE_ID and NOTION_TOKEN yet.

NOTION_TOKEN may be token_v2? and should '-' in NOTION_SPACE_ID?

I received mail from notion,

Your Notion export is ready Click [here] to download it. The link will expire after 30 days.

but backup also stop with error "Error: Process completed with exit code 1."