klingai-common-errors

Featured

Diagnose and fix common Kling AI API errors. Use when troubleshooting failed video generation or API issues. Trigger with phrases like 'kling ai error', 'klingai not working', 'fix klingai', 'klingai failed'.

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Kling AI Common Errors ## Overview Complete error reference for the Kling AI API. Covers HTTP status codes, task-level failures, JWT issues, and generation-specific problems with tested solutions. ## HTTP Error Codes | Code | Error | Cause | Solution | |------|-------|-------|----------| | `400` | Bad Request | Invalid parameters, malformed JSON | Validate all required fields; check `model_name` is valid | | `401` | Unauthorized | Invalid/expired JWT token | Regenerate JWT; verify AK/SK; check `exp` claim | | `402` | Payment Required | Insufficient credits | Top up API resource pack or subscription | | `403` | Forbidden | Content policy violation or API disabled | Review prompt against content policy; enable API access | | `404` | Not Found | Invalid task_id or wrong endpoint | Verify task_id; check endpoint path spelling | | `429` | Too Many Requests | Rate limit exceeded | Implement exponential backoff (see pattern below) | | `500` | Internal Server Error | Kling platform issue | Retry after 30s; if persistent, check status page | | `502` | Bad Gateway | Upstream service unavailable | Retry with backoff; typically transient | | `503` | Service Unavailable | System maintenance | Wait and retry; check announcements | ## Task-Level Failures When HTTP returns `200` but `task_status` is `"failed"`: | `task_status_msg` | Cause | Solution | |-------------------|-------|----------| | Content policy violation | Prompt contains restricted content | Remove violent, adult, or ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category