You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Improve API error handling and fix resource creation issues
- Enhanced error handling in API client to properly display error messages
- Fixed array format for notification channels and watchlists creation
- Corrected type imports in test files (ApiNotificationChannel → NotificationChannel)
- Added debug logging for better troubleshooting
- Fixed notification channel type mapping (now sends capitalized types per API requirement)
Note: API documentation appears to be outdated. The actual API expects:
- Capitalized types ("Webhook" not "webhook")
- Different schema for custom agents than documented
- Additional validation requirements not specified in docs
Testing results:
- ✅ UPDATE operations working (modified existing watchlists)
- ✅ READ operations working (fetches resources correctly)
- ✅ State management working perfectly
- ⚠️ CREATE operations still failing due to API schema mismatches
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments