Kite Connect API returns "Invalid api_key" despite active subscription 5.

shivaramselvam17
Hello Zerodha Support Team,

I created a Kite Connect application named **Falcon AI** and activated its subscription, which currently shows an expiry date of 04 December 2026.

The application has an API key and API secret. Its registered redirect URL is:

http://127.0.0.1:8000/kite-redirect

I am using the official Kite Connect Python SDK (version 5.2.2) and its documented login URL format. However, the Kite login endpoint returns the following error:

```json
{
"status": "error",
"message": "Invalid `api_key`.",
"data": null,
"error_type": "InputException"
}
```

I have independently verified that the API key displayed in the developer portal matches the Windows environment variable and the key used in the generated login URL.

Could you please investigate and confirm:

1. Whether Falcon AI is correctly registered as a Kite Connect application.
2. Whether its active subscription is correctly linked to the displayed API key.
3. Whether the API key is active, provisioned and recognized by the Kite authentication backend.
4. Whether any account-side activation, entitlement or configuration issue could cause this error.

I have not regenerated the API secret or changed the application configuration.

I would appreciate your assistance in identifying and resolving this issue.

Thank you.
Sign In or Register to comment.