{"id":5373,"date":"2019-12-31T09:12:37","date_gmt":"2019-12-31T09:12:37","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/salesforce\/?p=5373"},"modified":"2020-10-21T14:39:22","modified_gmt":"2020-10-21T14:39:22","slug":"salesforce-tips-resolve-org-authorization-error-in-vs-code","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2019\/12\/31\/salesforce-tips-resolve-org-authorization-error-in-vs-code\/","title":{"rendered":"Salesforce Tips &#8211; Resolve Org Authorization Error in VS Code"},"content":{"rendered":"\n<p>In this blog we will discuss how to resolve the Authorization error while executing SFDX command \u201cAuthorize an Org\u201d in VS Code. The error occurs while\u00a0 Authorizing Salesforce org in VS Code and if user closes the browser and try again to authorize the org.<\/p>\n\n\n\n<p><strong>Read More: <\/strong><a href=\"https:\/\/www.greytrix.com\/product\/crm-development\/salesforce-com\" target=\"_blank\" rel=\"noreferrer noopener\">Salesforce Development Services<\/a><\/p>\n\n\n\n<p>For example refer the below image:<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2019\/12\/AuthError.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2019\/12\/AuthError.png\" alt=\"Auth Error\"><\/a><\/center>\n<font size=\"2\"><center><i>Auth Error<\/i><\/center><\/font>\n\n\n\n<p>Follow the below steps in order to resolve error:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to taskbar, right click and select Task Manager or you can use shortcut(Ctrl+Alt+Delete)<\/li><li>Search for \u201cNode.js:Server-side JavaScript\u201d process in Processes tab<\/li><li>Right click on process and click on End task option from pop up as shown in below image: <\/li><\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2019\/12\/TaskManager.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2019\/12\/TaskManager.png\" alt=\"Process from Task Manager\"><\/a><\/center>\n<font size=\"2\"><center><i>Process from Task Manager<\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\"><li>After the task end, go to VS code and authorize org again.<br><\/li><li>Once the org is authorized user will get success message as shown in below image: <\/li><\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2019\/12\/Auth-Success.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2019\/12\/Auth-Success.png\" alt=\"Auth Success\"><\/a><\/center>\n<font size=\"2\"><center><i>Auth Success<\/i><\/center><\/font>\n\n\n\n<p>Hope using the steps mentioned above in the blog are helpful and you are able to solve the problem. If you still have concerns and need more help, please contact us at <a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>.<\/p>\n\n\n\n<p style=\"text-align: justify\"><b>About Us<\/b><\/br>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> \u2013 a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.<br><br> Greytrix has some unique solutions for Cloud CRM such as <a href=\"\">Salesforce Sage integration<\/a> for <a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/integration\/\">Sage X3<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-100-integration\/\">Sage 100<\/a> and <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-300-integration\/\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/data-migration-support\/\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Integrated App development<\/a>, Custom App development and Technical Support business partners and end users. Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star rated app listed on <a href=\"https:\/\/appexchange.salesforce.com\/appxListingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<br> The GUMU&#x2122; Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.<br><br> For more information on our Salesforce products and services, contact us at <a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n\n\n\n<p><strong>Related Posts:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2017\/07\/20\/using-action-attribute-at-vf-page-tag\/\">Using \u2018action\u2019 attribute at VF Page tag<\/a><\/li><li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2018\/05\/16\/access-to-salesforce-system-through-network-ip\/\">Access to Salesforce system through Network IP<\/a><\/li><li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2018\/06\/04\/creating-an-endpoint-in-salesforce-and-using-rest-api-to-externally-access-it\/\">Creating an endpoint in Salesforce and using REST API to\nexternally access it<\/a><\/li><li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2018\/06\/04\/salesforce-platform-events-what-use\/\">Salesforce Platform Events \u2013 What are they &amp; how to use<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this blog we will discuss how to resolve the Authorization error while executing SFDX command \u201cAuthorize an Org\u201d in VS Code. The error occurs while\u00a0 Authorizing Salesforce org in VS Code and if user closes the browser and try again to authorize the org. Read More: Salesforce Development Services For example refer the below\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2019\/12\/31\/salesforce-tips-resolve-org-authorization-error-in-vs-code\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[754,751,755,759,758,749,757,760,750,752,748,756,753],"class_list":["post-5373","post","type-post","status-publish","format-standard","hentry","category-salesforce-srv","tag-authorize-an-org","tag-error","tag-force-auth-web-login","tag-kill-the-process","tag-kill-the-process-running-on-port-1717","tag-oauth","tag-oauth-redirect-server-on-port-portinuseaction","tag-port-1717","tag-portinuseaction","tag-sfdx","tag-vs-code","tag-vs-code-authorize-an-org","tag-vs-code-sfdx"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/5373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=5373"}],"version-history":[{"count":3,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/5373\/revisions"}],"predecessor-version":[{"id":5816,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/5373\/revisions\/5816"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=5373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=5373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=5373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}