Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong or expired sessionid/signature - all time #222

Open
cropii opened this issue Nov 19, 2023 · 7 comments
Open

Wrong or expired sessionid/signature - all time #222

cropii opened this issue Nov 19, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@cropii
Copy link

cropii commented Nov 19, 2023

Hello,

i add sessionid+ signature - i try cople ways:

  1. log in via your script;
  2. log in via cookies from browser;

result same: Credentials error: Wrong or expired sessionid/signature

pics in attachment.
az1

az2

@cropii cropii added the bug Something isn't working label Nov 19, 2023
@lzhqlj2023
Copy link

the same problem

@lzhqlj2023
Copy link

help

@lzhqlj2023
Copy link

You can use TradingView-API-3.4.1 - comment out lines 429 and 430 in the miscRequests file.

@schnouz
Copy link

schnouz commented Nov 30, 2023

Got the same error here

@schnouz
Copy link

schnouz commented Dec 1, 2023

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

@danielgroen
Copy link

danielgroen commented Dec 29, 2023

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:

  1. go to your browser
  2. go to tradingview and make sure you're logged in
  3. open your inspector mode and go to the "storage tab"
  4. click on "cookies" -> "https://www.tradingview.com"
  5. copy the values from the screenshot, and paste them in the token and signature fields in your code:
    afbeelding

@chingfeng2021
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants