{"record":{"id":"afaa49f3dcab8a57","repo":"garrytan/gstack","slug":"openai-organization-verification-required-go-to-h-afaa49","errorCode":null,"errorMessage":"OpenAI organization verification required.\nGo to https://platform.openai.com/settings/organization to verify.\nAfter verification, wait up to 15 minutes for access to propagate.","messagePattern":"OpenAI organization verification required\\.\nGo to https://platform\\.openai\\.com/settings/organization to verify\\.\nAfter verification, wait up to 15 minutes for access to propagate\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"design/src/generate.ts","lineNumber":65,"sourceCode":"        \"Content-Type\": \"application/json\",\n      },\n      body: JSON.stringify({\n        model: \"gpt-4o\",\n        input: prompt,\n        tools: [{\n          type: \"image_generation\",\n          model: \"gpt-image-2\",\n          size,\n          quality,\n        }],\n      }),\n      signal: controller.signal,\n    });\n\n    if (!response.ok) {\n      const error = await response.text();\n      if (response.status === 403 && error.includes(\"organization must be verified\")) {\n        throw new Error(\n          \"OpenAI organization verification required.\\n\"\n          + \"Go to https://platform.openai.com/settings/organization to verify.\\n\"\n          + \"After verification, wait up to 15 minutes for access to propagate.\",\n        );\n      }\n      throw new Error(`API error (${response.status}): ${error.slice(0, 200)}`);\n    }\n\n    const data = await response.json() as any;\n\n    const imageItem = data.output?.find((item: any) =>\n      item.type === \"image_generation_call\"\n    );\n\n    if (!imageItem?.result) {\n      throw new Error(\n        `No image data in response. Output types: ${data.output?.map((o: any) => o.type).join(\", \") || \"none\"}`\n      );","sourceCodeStart":47,"sourceCodeEnd":83,"githubUrl":"https://github.com/garrytan/gstack/blob/94993f74012782fd94416dd44b8314f6363a13a4/design/src/generate.ts#L47-L83","documentation":"Error \"OpenAI organization verification required.\nGo to https://platform.openai.com/settings/organization to verify.\nAfter verification, wait up to 15 minutes for access to propagate.\" thrown in garrytan/gstack.","triggerScenarios":"Thrown at design/src/generate.ts:65 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"94993f74012782fd94416dd44b8314f6363a13a4","analyzedAt":"2026-08-12T04:06:23.140Z","schemaVersion":2},"datasetVersion":"2026-08-12T13:17:24.610Z"}