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
Jyotsna BhujbalJyotsna Bhujbal 

Error while verifying challenge at Creating and Managing Custom Metadata Types step in trailhead

Hi  ,
While verifying custom metadata type (from trailhead ) at Creating and Managing Custom Metadata Types step , I am getting below error 

There was an unhandled exception. Please reference ID: JSNBHPWZ. Error: Faraday::ClientError. Message: INVALID_TYPE: VAT_Rate__c, MasterLabel from VAT_Data__mdt ^ ERROR at Row:1:Column:43 sObject type 'VAT_Data__mdt' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.


 I have enabled namespace in my dev org. Is it because namespace is not added before field and object name in above error ?
But I have completed almost 22 badges where I have not come across such error.
Best Answer chosen by Jyotsna Bhujbal
DeepthiDeepthi (Salesforce Developers) 
Hi Jyotsna,

It is due to namespace issue. Trailhead does not support namespaced DE Orgs. Due to the namespace, the API names will be differently appended with namespace and hence it is not verifying your results.Try in other dev org.To login into trail head you can use your old org but for activity(code and config) related changes you can use new org. In such a way all point will add in your old profile only.
For reference, please check the below link:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000005JciIAE

Best Regards,
Deepthi

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Please check below post for trailhead FAQ
1) https://developer.salesforce.com/page/Trailhead_FAQ

I think my work is correct, but the challenge verification is still giving me an error.
If you think you've completed the challenge correctly, but you are still getting errors, make sure that you are using a fresh Developer Edition that does not have a namespace prefix. (What is a namespace prefix?) If you are still having trouble, use the “Share Feedback” button in the footer or on the right column to send a support request

Please create developer org for your trailhead activity
DeepthiDeepthi (Salesforce Developers) 
Hi Jyotsna,

It is due to namespace issue. Trailhead does not support namespaced DE Orgs. Due to the namespace, the API names will be differently appended with namespace and hence it is not verifying your results.Try in other dev org.To login into trail head you can use your old org but for activity(code and config) related changes you can use new org. In such a way all point will add in your old profile only.
For reference, please check the below link:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000005JciIAE

Best Regards,
Deepthi
This was selected as the best answer
michelle martinez 6michelle martinez 6
Hello,I have the same error and I already try to deactivate the namespace prefix and change ORG, I still get this message:
There was an unhandled exception. Please reference ID: PTXEHAWF. Error: Faraday::ClientError. Message: INVALID_TYPE: VAT_Rate__c, MasterLabel from VAT_Data__mdt ^ ERROR at Row:1:Column:43 sObject type 'VAT_Data__mdt' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
Neelang Naval 4Neelang Naval 4
You may want to check the Object Name of the metadata that you created in the trailhead , it should be VAT_Data. It worked for me.
Vishwas More 7Vishwas More 7
@Neelang Naval 4, it worked for me as well, thank you!!