Wrong or expired sessionid/signature - all time
Hello,
i add sessionid+ signature - i try cople ways:
- log in via your script;
- log in via cookies from browser;
result same: Credentials error: Wrong or expired sessionid/signature
pics in attachment.
the same problem
help
You can use TradingView-API-3.4.1 - comment out lines 429 and 430 in the miscRequests file.
Got the same error here
Ok in fact you need to change the URL in miscRequests.js. my account is based in France and the default url of https://tradingview.com wasn't working. Changing the URL to https://fr.tradingview.com/ solve the issue
i found this kinda hack, For me this is necessary because i have 2fa enabled because i need to create webhooks.
Unfortunately there is no other solution than the steps below:
- go to your browser
- go to tradingview and make sure you're logged in
- open your inspector mode and go to the "storage tab"
- click on "cookies" -> "https://www.tradingview.com"
- copy the values from the screenshot, and paste them in the
tokenandsignaturefields in your code:
same issue