Troubleshooting of OpenAI API: Difference between revisions
Jump to navigation
Jump to search
→How to fix "The model `gtp-4` does not exist"
| Line 124: | Line 124: | ||
=== How to fix "The model `gtp-4` does not exist" === | === How to fix "The model `gtp-4` does not exist" === | ||
* Error message: "The model `gtp-4` does not exist" | * Error message: "The model `gtp-4` does not exist" or "The model: `gpt-4` does not exist" | ||
* Solution: | <pre> | ||
{ | |||
"error": { | |||
"message": "The model: `gpt-4` does not exist", | |||
"type": "invalid_request_error", | |||
"param": null, | |||
"code": "model_not_found" | |||
} | |||
} | |||
</pre> | |||
* Solution: (1) Correct the typo in the model name. (2) Visit the [https://platform.openai.com/docs/models Models - OpenAI API] to view the list of models. You can also go to the [https://openai.com/product/gpt-4 GPT-4 product page] to join the waiting list. | |||
=== How to fix "The server had an error while processing your request" === | === How to fix "The server had an error while processing your request" === | ||