There was an error while loading. Please reload this page.
1 parent f0d5751 commit 63d2da0Copy full SHA for 63d2da0
src/lib/api.ts
@@ -120,7 +120,10 @@ export async function fetchLibraryDocumentation(
120
return errorMessage;
121
}
122
if (errorCode === 401) {
123
- const errorMessage = "Unauthorized. Please check your API key.";
+ const errorMessage =
124
+ "Unauthorized. Please check your API key. The API key you provided (possibly incorrect) is: " +
125
+ apiKey +
126
+ ". API keys should start with 'ctx7sk'";
127
console.error(errorMessage);
128
129
0 commit comments