I am POSTing data to https://api.kite.trade/orders/bo and I am getting 400 when encoding with UTF-16 and 403 when encoding UTF-8. Parameters are as follows
I am using httpsUrlConnection in android. I get the error message {"status": "error", "message": "Missing api_key", "error_type": "InputException"} But I am actually providing api_key as mentioned previously
Ok I passed api_key along with url while making request. Now I am getting error {"status": "error", "message": "That API call is not allowed for the authenticated user", "error_type": "PermissionException"} And this is happening for all kinds of orders. Why is that?
Hey. I believe you used Kite Publisher for order placement. You only have read access to Kite Connect, wherein you can fetch the users' portfolio and orders. This has always been the case. Perhaps you've made a change with respect to order placement on your end?
Yes that is true, I have been using Kite publisher for order placement in order to avoid exchange approval requirements. But since my kite app is connect+publisher and 2000 credits are being deducted every month, my app should have the permission to allow all modes of order placement, at least for my client id, right? In fact, when I first used the api, I tested with all modes of order and everything worked perfectly
Hi @g0g01, We don't support permission for user or groups. we support permissions to the app. Users cannot use Kite Connect app as a multipurpose app. It can be either platform or a personal app.
It is a platform app. Can it be given permission to allow kite connect type trades? Please tell me what I need to do to enable all modes of order placement.
What client are you using?
Can you print error message and check?
{"status": "error", "message": "Missing api_key", "error_type": "InputException"}
But I am actually providing api_key as mentioned previously
You need to pass api_key while making request.
{"status": "error", "message": "That API call is not allowed for the authenticated user", "error_type": "PermissionException"}
And this is happening for all kinds of orders. Why is that?
You can only use, the user id with which you have created Kite Connect app.
Please write to talk(at)rainmatter.com.
We don't support permission for user or groups.
we support permissions to the app. Users cannot use Kite Connect app as a multipurpose app. It can be either platform or a personal app.