Skip to content

FST_ERR_VALIDATION error #117

Closed
Closed
@parameterEstimation

Description

@parameterEstimation

Error executing sample code in README

    try:
        print("\nInitializing 🤘 Stagehand...")
        # Initialize Stagehand
        await stagehand.init()

        if stagehand.env == "BROWSERBASE":    
            print(f"🌐 View your live browser: https://www.browserbase.com/sessions/{stagehand.session_id}")

        page = stagehand.page

        await page.goto("https://www.aigrant.com")
      

File ".../demo/.venv/lib/python3.9/site-packages/stagehand/client.py", line 324, in _create_session
raise RuntimeError(f"Failed to create session: {resp.text}")
RuntimeError: Failed to create session: {"statusCode":400,"code":"FST_ERR_VALIDATION","error":"Bad Request","message":"body must have required property 'projectId'"}

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