Tuesday, June 29, 2021

DevConsole NonFunctional

 From time to time; if you are a DevConsole user the devconsole becomes console, in my case a "Communication Failure" was being returned.


Well. to restore your DevConsole

Developer Console menu may become non-functional sometimes, because of the workspace being in a bad state. To restore the functionality, follow the following steps. Fix 1: 1. Login and open Developer Console by Chrome 2. Open Developer tools and select Network 3. Reload on Developer Console Fix 2: 1. Login to Workbench and go to REST Explorer 2. Use the following query in Workbench to get the IDEWorkspace /services/data/v31.0/tooling/query/?q=SELECT id, name from IDEWorkspace ID of IDEWorkspace is "1dexxxxxxxxxxxxxx". 3. Do GET operation for the found id with following query "/services/data/v29.0/tooling/sobjects/IDEWorkspace/1de1a0000014sEWAAY" 4. You will see the content of IDEWorkspace 5. Do DELETE operation on found record. 6. Re-open Developer Console. 7. Developer Console will work fine. As we created a new workspace and the old workspace has been deleted. And the slowness will also be removed. I also had multiple WorkSpaces