Req url: https://api.perplexity.ai/v1/responses
Req body:
{
"input": "Classify this company into its primary industry and sub-industry.\n\nCompany Name: TexAu\nCompany Description: TexAu is a sales platform for linkedin where users can automate linkedin workflows\n\nUse standard industry categories:\nTechnology, Healthcare, Financial Services, Manufacturing, Retail, Real Estate, Education, Energy, Media & Entertainment, Professional Services, Transportation, Government, Agriculture, Construction, Telecommunications, Hospitality, Non-Profit, Other\n\nReturn ONLY valid JSON:\n{\"industry\": \"Technology\", \"subIndustry\": \"Enterprise Software\", \"naicsCode\": \"511210\", \"confidence\": 0.9}",
"instructions": "If you cannot determine the answer, return the following fallback: Return {\"industry\": \"Unknown\", \"subIndustry\": \"Unknown\", \"naicsCode\": null, \"confidence\": 0.0}",
"max_output_tokens": 8192,
"model": "openai/gpt-5-mini",
"stream":false
}
Getting 500 internal server error with this messaeg:
{
"error": {
"message": "An internal server error occurred. Please retry your request.",
"type": "server_error",
"code": 500
}
}
No way to debug what’s wrong