V3 version history api

Hi, i have changed my history fn to V3 format and I am getting this issue, can you please tell me reason for it and how to correct it

{ code: -16, message: ‘Could not authenticate the user’, s: ‘error’ }

Hi, I ran into the same problem and thought my auth_code or the access_token were wrong. However, I discovered that when logging in for the first time to get the auth_code, you have to select all permissions in final web page before continuing. Thereafter, you will not receive this error. Hope this helps. All the best with your trades. PriceCatch

Where to select all permission, I didn’t get any web page like that, I just login to my trade. Fyers first, then when I login to my algo, it automatically logged me in, so how to resolve it, I am doing in javascript.

In your Dashboard under the app that you have created, see if all permissions are displayed. See the permissions for other automatically created apps to cross-check. Your app should also have all the permissions enabled. So when you login for first time, you will indeed get a screen to set app permissions if you have not already done so.

Hi @yogya.9olw812n

Looks you are passing incorrect access token
Please provide correct accesstoken.

How to generate access token. Please read our APIs docs.
and yes auth code is not accesstoken.