Getting random 'Permission Errors'

svsio
svsio edited July 2020 in API clients
Hello, I'm facing an issue where I'm getting random 'PermissionException' errors.

I can call the user API, no problem -
"/user/profile"
{}
=> {"status"=>"success",
"data"=>
{"user_id"=>"",
"user_type"=>"individual",
"email"=>"",
"user_name"=>"",
"user_shortname"=>"Siddharth",
"broker"=>"ZERODHA",
"exchanges"=>["MF", "NSE", "NFO", "CDS", "BSE", "BFO"],
"products"=>["CNC", "NRML", "MIS", "BO", "CO"],
"order_types"=>["MARKET", "LIMIT", "SL", "SL-M"],
"avatar_url"=>"",
"meta"=>{"demat_consent"=>"consent"}}}


But when I call the quotes API I get a permission denied error.
"/quote?i=NSE:INFY"
{}
{
"status" => "error",
"message" => "Insufficient permission for that call.",
"data" => nil,
"error_type" => "PermissionException"
}


Anyone else seeing this problem?

I've regenerated the API secret but to no avail.
This discussion has been closed.