question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Authorisation required each day

See original GitHub issue

Summary

Each day I need to set default org and authorise it.

Steps To Reproduce:

  1. Authorise an dev org.
  2. Leave VSCode as is (do not close)
  3. Comeback day after
  4. Try deploying

Expected result

Your metadata successfully deployed

Actual result

Error: INVALID_SESSION_ID: Session expired or invalid

Additional information

Screenshot 2021-03-17 at 09 14 06

If I trying to make deploy via command line it works perfectly, so I assume this an issue with extension itself

I understand that it is not enough info. I could try to go to VS Code console and get some debug from it next time it occure.

VS Code Version:

Version: 1.54.3

SFDX CLI Version:

sfdx-cli/7.90.2 darwin-x64 node-v14.16.0

OS and version:

macOS Big Sur

Version: 11.2.3 (20D91)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
smaddox-sfcommented, Apr 2, 2021

Hi @gonardfreeman - Did the need to authorize each day happen within the last month or so? If so, we have a known issue on the CLI at the moment where the REST API is not auto-refreshing your auth token. That issue will soon be fixed but in the meantime, there is a workaround that is explained here.

0reactions
gonardfreemancommented, Apr 2, 2021

Yep. Thanks a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Credit Card Authorization Hold - How and When to Use
For the majority of card-not-present merchants in an eCommerce environment, the maximum length of a card authorization hold is seven days.
Read more >
476-Must an authorization include an expiration date - HHS.gov
For example, an Authorization may expire "one year from the date the Authorization is signed," "upon the minor's age of majority," or "upon ......
Read more >
2021 Prior Authorization State Law Chart
Yes. Nonurgent: 2 business days of obtaining all necessary info. Urgent: 1 business day. Emergency: a minimum of 24 hours following.
Read more >
Card authorization explained: How it works and what ... - Stripe
There are over one billion credit card transactions processed worldwide every day, and all of them require authorization to be completed.
Read more >
The Ultimate Guide to Prior Authorization - Myndshft
Do all medical services performed require prior authorization? ... by the payer, a prior authorization can take anywhere from one day to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found