Skip to content

Invalid Vercel OIDC token: Cannot read properties of undefined (reading 'replace') #164

@2113046928

Description

@2113046928

Error Type

Console Error

Error Message

Invalid Vercel OIDC token: Cannot read properties of undefined (reading 'replace')

at createSandbox (app/generation/page.tsx:586:15)
at async AISandboxPage.useEffect.initializePage (app/generation/page.tsx:262:11)

Code Frame

584 | return data;
585 | } else {

586 | throw new Error(data.error || 'Unknown error');
| ^
587 | }
588 | } catch (error: any) {
589 | console.error('[createSandbox] Error:', error);

Next.js version: 16.0.1 (Turbopack)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions