@kadoa/mcp 0.3.3 → 0.3.4-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49189,6 +49189,9 @@ function classifyError(error48) {
|
|
|
49189
49189
|
const status = httpError.httpStatus ? ` (HTTP ${httpError.httpStatus})` : "";
|
|
49190
49190
|
switch (code) {
|
|
49191
49191
|
case "AUTH_ERROR":
|
|
49192
|
+
if (httpError.httpStatus === 403) {
|
|
49193
|
+
return `Access denied${status}. Your current team role may not have permission for this action. Use the team_list tool to check your role, or contact your team admin to request write access.`;
|
|
49194
|
+
}
|
|
49192
49195
|
return `Authentication failed${status}. Your Kadoa API key may be invalid or expired. Please check your KADOA_API_KEY or re-authenticate.`;
|
|
49193
49196
|
case "NOT_FOUND":
|
|
49194
49197
|
return `Not found${status}. The workflow may have been deleted or the ID is incorrect.`;
|