function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Taha HaiderTaha Haider 

Getting error in deployment from cli(package.xml)

Getting this error in cli when deploying the org:
ERROR running force:source:deploy:  INVALID_SESSION_ID: Session expired or invalid
ShirishaShirisha (Salesforce Developers) 
Hi Taha,

Greetings!

Have you tried to authorize the org again.If not,I would suggest you to try authorizing the org again and see,if you can still the same error.

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri
ravi soniravi soni
Hi Taha,
I would suggest you to try authorizing the org again and see.
I hope it will help you.
let me know if it helps you and making it as best.
Thank you
Taha HaiderTaha Haider
Thanks everyone for helping i found that from now we have to authorize both org in salesforce cli for retrieving and deploying both.