Skip to content

Authorization failed: No chunk id map found #310

@maxceem

Description

@maxceem

Steps I followed

  • I run npx -y @posthog/wizard@latest

  • authorized "Default Project" in the opnened browser window

  • was succesfully redirected to the page with URL http://localhost:8239/callback?code=SOMEcodeHERE which says:

     PostHog login complete!
     
     Return to your terminal: the wizard is hard at work on your project█
    
  • But when I came back to CLI there are errors:

     Authorization failed:
     │
     │
     │
     │  If you think this is a bug in the PostHog wizard, please create an issue:
     │  https://github.com/posthog/wizard/issues
     No chunk id map found
     No chunk id map found
     │
     └  Wizard setup cancelled.
    

Full log

Here is the full log in CLI from start:

npx -y @posthog/wizard@latest
┌  Welcome to the PostHog setup wizard ✨
│
◆  Detected integration: Astro

┌   PostHog Astro wizard (agent-powered)
│
●  We're about to read your project using our LLM gateway.
│
│  .env* file contents will not leave your machine.
│
│  Other files will be read and edited to provide a fully-custom PostHog integration.
│
▲  Claude/Anthropic services are partially degraded.
│
│  Status: Partially Degraded Service
│  Status page: https://status.claude.com
│
│  The wizard may not work reliably while services are degraded.
│
◇  Do you want to continue anyway?
│  Yes
│
◇  Select your PostHog Cloud region
│  US 🇺🇸
│
●  If the browser window didn't open automatically, please open the following link to be redirected to PostHog:
│
│  http://localhost:8239/authorize
│
◇  Authorization failed.
│
■  Authorization failed:
│
│
│
│  If you think this is a bug in the PostHog wizard, please create an issue:
│  https://github.com/posthog/wizard/issues
No chunk id map found
No chunk id map found
│
└  Wizard setup cancelled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions