diff --git a/packages/cli/src/constants.ts b/packages/cli/src/constants.ts index 59062c4644..cae556dc96 100644 --- a/packages/cli/src/constants.ts +++ b/packages/cli/src/constants.ts @@ -7,6 +7,8 @@ import { RESPONSE_ERROR_MESSAGES as CORE_RESPONSE_ERROR_MESSAGES } from 'n8n-cor export const RESPONSE_ERROR_MESSAGES = { NO_CREDENTIAL: 'Credential not found', NO_ENCRYPTION_KEY: CORE_RESPONSE_ERROR_MESSAGES.NO_ENCRYPTION_KEY, + NO_CREDENTIAL_TYPE: 'Missing query string param: `credentialType`', + CREDENTIAL_TYPE_NOT_OAUTH2: 'Credential type is not OAuth2 - no scopes can be provided', }; export const AUTH_COOKIE_NAME = 'n8n-auth';