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
Vijayakumar KenchugunduVijayakumar Kenchugundu 

INVALID_TYPE: sObject type 'ApexClass' is not supported

Hello, I am new to Salesforce development. I am learning by following trailhead modules. I am stuck with the module "Use Visual Studio Code for Salesforce Development". I have successfully installed SF CLI, VSC and created sample class AccountController as per steps given in the module. It successfully deployed to the newly created Playground Org. The issue I have is when I click verify step on trailhead module, it gives me below error msg. Can someone help me to clear this roadblock?User-added image

There was an unhandled exception. Please reference ID: GZHMMDZE. Error: Restforce::ErrorCode::InvalidType. Message: INVALID_TYPE: sObject type 'ApexClass' is not supported.
Best Answer chosen by Vijayakumar Kenchugundu
Vijayakumar KenchugunduVijayakumar Kenchugundu
Its weird. I am keep trying varify the challenge daily. Luckily today it got through. I got my badge.

All Answers

VinayVinay (Salesforce Developers) 
Hi,

We have separate Trailhead team who can help you with these issues.So,can you please use the below link to reach out to them so that one of the agent will get in touch with you.

Support:https://trailhead.salesforce.com/help

Thank you!

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks,
Vinay Kumar
Vijayakumar KenchugunduVijayakumar Kenchugundu
Its weird. I am keep trying varify the challenge daily. Luckily today it got through. I got my badge.
This was selected as the best answer