What is FEED_TOKEN in websocket connection?
N
nisha
@nisha
0
Reputation
12
Posts
4
Profile views
0
Followers
0
Following
Best posts made by nisha
This user hasn't posted anything yet.
Latest posts made by nisha
-
What is FEED_TOKEN in websocket connection?
-
Unable to login using SmartAPI Javascript Library - Getting Invalid Token - AG8001
Code
let { SmartAPI, WebSocket } = require("smartapi-javascript"); let smart_api = new SmartAPI({ api_key: appConfig.angel.marketApiKey, // PROVIDE YOUR API KEY HERE" }); smart_api.generateSession(appConfig.angel.clientId, appConfig.angel.clientPwd) .then((data: any) => { return smart_api.getProfile(); }) .then((data: any) => { // Profile details console.log(data); }) .catch((ex: any) => { //Log error console.log(ex); }) // TO HANDLE SESSION EXPIRY, USERS CAN PROVIDE A CUSTOM FUNCTION AS PARAMETER TO setSessionExpiryHook METHOD smart_api.setSessionExpiryHook(customSessionHook); function customSessionHook() { console.log("User loggedout"); // NEW AUTHENTICATION CAN TAKE PLACE HERE }
Error
User loggedout { success: false, message: 'Invalid Token', errorCode: 'AG8001', data: '' }
Client ID: N174188
-
RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'
@nisha said in USER ID OR PASSWORD IS INVALID , error code : 'AB1007':
@admin
Hi Team,
Kindly migrate my account too: N174188Hi Team,
Kindly migrate my account too: N174188
-
RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'
Upgrade my account too N174188 plese
-
RE: Error at login API - "YOUR USER ID OR PASSWORD IS INVALID"
Hi Team,
Kindly migrate my account too: N174188