Failed to fetch |
The request could not reach the API endpoint. Ensure that you have correctly specified the *resource name* for Azure, or the base URL parameter for other AI providers. |
Verify that Preferences > Lens Prism AI > Resource Name is correct. |
- |
Verify that Preferences > Lens Prism AI > Base URL is correct. |
Resource not found |
The API Version parameter is missing. Obtain the API version in your AI provider account. |
Verify that Preferences > Lens Prism AI > Azure API Version is correct, or leave this field empty to use the default version. |
- |
Verify that Preferences > Lens Prism AI > API Version is correct. |
Invalid argument for parameter maxTokens: maxTokens must be >= <number> |
The number of tokens is incorrect. Check the AI provider documentation or AI provider profile to obtain the correct number of tokens. |
Verify that Preferences > Lens Prism AI > Max Output Tokens is correct. |
- |
Verify that Preferences > Lens Prism AI > Max Output Tokens is correct. |
Access denied due to invalid subscription key or wrong API endpoint... or Incorrect API key provided: |
The API key is incorrect. Either paste the correct key, or generate a new one |
Verify that Preferences > Lens Prism AI > Azure API Key is correct. |
Regenerate the API key on OpenAI Platform and paste the new one to Preferences > Lens Prism AI > OpenAI API Key. |
Verify that Preferences > Lens Prism AI > API Key is correct. |
max_tokens is too large: <number>... |
The incorrect number of tokens. Lens Desktop returns the maximum number of token for a model. Ensure that you have specified a number that is equal or less than this number. |
Set the correct number of tokens Preferences > Lens Prism AI > Max Output Tokens |
- |
Set the correct number of tokens Preferences > Lens Prism AI > Max Output Tokens |
The API deployment for this resource does not exist... |
The model ID is incorrect, or it is being deployed. You may need to check the ID in your profile of the AI provider. |
Verify that Preferences > Lens Prism AI > Model IDs is correct, or try again later. |
- |
Verify that Preferences > Lens Prism AI > Model IDs is correct, or try again later. |
Failed after 3 attempts. You exceeded your current quota, please check your plan and billing details... |
Your API key has reached its usage limit or lacks sufficient access. Contact your AI provider to obtain or purchase access to the LLM API. In your AI provider profile, ensure that the billing details are correct, or update them if needed. |
- |
- |
- |
401 Unauthorized |
The API key is missing, expired, or invalid. Contact your AI provider. Obtaining or updating the key might require additional purchases. |
- |
- |
- |
No prompt provided |
The request had an empty prompt. |
- |
- |
- |
Too many requests |
Your current plan does not allow sending more queries. Contact your AI provider for upgrading the request limit. |
- |
- |
- |
Context length exceeded |
The total token count (input and history) is too large for the model. You might need to reset the chat history. Ensure that you stay within the number of tokens defined by Max Token Output. |
- |
- |
- |