Holdings - Insufficient permission

soumens
As per flask example when I am trying to get holdings with below function
@app.route("/holdings.json")
def holdings():
kite = get_kite_client()
return jsonify(holdings=kite.holdings())

I am getting insufficient permission.

Regards,
Soumen
  • soumens
    @sujith
    Error msg : DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /portfolio/holdings HTTP/1.1" 403 116
    kiteconnect.exceptions.PermissionException: Insufficient permission for that call.

    Do I have correct permission for that call?

  • sujith
    Hi,
    It seems like you don't have permission to fetch holdings.
    If you are trying to fetch mutual funds holdings then you need to use this API.
  • soumens
    I am fetching equity holdings. As I have the subscription for API and historical data I should have access. Who can help to resolve the issue?
  • sujith
    You can send a mail to talk(at)rainmatter.com and ask for permission to fetch holdings.
  • soumens
    @sujith , No one is responding from rainmatter. Is there any other way to get the issue fixed.
Sign In or Register to comment.