Category: Errors
-

Error while scanning built-in and system Apex types
—
Error : Error while scanning built-in and system Apex types I was getting this error while starting the VS Code or Cursor on a windows machine. Root Cause It seems the underlying file got corrupted at some point. Solution 2. Restart the VS Code or CUrsor and see if the issue is now resolved.
-

SFDX: Retrieve Source from Org failed to run Salesforce (missing package.xml)
—
In the previous post about this topic there were some comments about how to get the package.xml file generated. I found this in recent updates to Salesforce CLI they have added a method to generate the package file with any name you want. Steps to genarate the file Right click on the force-app folder and…
-

Error : You have reached the limit for dashboards run as the logged-in user
—
If you are encountering the error message “You have reached the limit for dashboards run as the logged-in user” while installing a managed package, it could be due to a limitation on the number of dashboards that can be created within the installed package
-

SFDX: Retrieve Source from Org failed to run Salesforce
—
If you are trying to retrieve source from salesforce org but keep getting the error-SFDX: Retrieve Source from Org failed to run. follow the steps and it should resolve the issue. Create a manifest folder under your project folder and place the package.xml in that. Click on the package.xml and right click and click on…
-

-

Setup your own CORS proxy on Heroku
—
in ErrorsAccess to XMLHttpRequest at ‘https://test.salesforce.com/services/oauth2/token’ from origin ‘null’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
-
Unreachable statement error
—
This is in relation to an earlier post https://getthekt.com/unreachable-statement-error/ . This post is an addition to the previous one as another possibility. As this error mentions, there is something to be executed, which is after we have a return statement. So the execution will return from the return statement and cannot ever reach the next…
-

Invalid username, password, security token; or user locked out.
—
Invalid username, password, security token; or user locked out. salesforce migration
-

-

Field is not writeable LastModifiedDate
—
in ErrorsField is not writeable LastModifiedDate Here is a error you might get while updating a system field. Mostly the lastmodified field. There might be situations when you wanted to update the lastmodifieddate for your test class or some other reason. You will get error : Field is not writeable LastModifiedDate . But there is a…
