@devries-cameron20 / composio-1 / commits / dff542ab4
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix: use SDKErrorCodes.NO_API_KEY_PROVIDED instead of hardcoded string (#2258)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: rahul@composio.dev <rahultarak12345@gmail.com>

devin-ai-integration[bot] committed Dec 13, 2025 at 13:00 UTC dff542ab4f3c136baf82b632f505e6c476fc0536
1 file changed +1 -1
ts/packages/core/src/errors/SDKErrors.ts
+1 -1
@@ -14,7 +14,7 @@ export class ComposioNoAPIKeyError extends ComposioError {
14
15 super(message, {
16 ...options,
17 - code: 'NO_API_KEY',
17 + code: SDKErrorCodes.NO_API_KEY_PROVIDED,
18 cause: options.cause || defaultCause,
19 possibleFixes: options.possibleFixes || [
20 'Ensure you have an API key passed in the params, or in environment variable (COMPOSIO_API_KEY) or in the user config file',