Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

error message

Marc Klingena14845f324bf
diff --git a/src/features/publicApi/server/apiAuth.ts b/src/features/publicApi/server/apiAuth.ts
index 03919ceff1..3410055b3f 100644
--- a/src/features/publicApi/server/apiAuth.ts
+++ b/src/features/publicApi/server/apiAuth.ts
@@ -86,6 +86,6 @@ async function findDbKeyOrThrow(publishableKey: string) {
const dbKey = await prisma.apiKey.findUnique({
where: { publishableKey },
});
- if (!dbKey) throw new Error("Invalid publishable key");
+ if (!dbKey) throw new Error("Invalid public key");
return dbKey;
}