Closed
Description
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
Labels
No labels