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
Balaram Nair 13Balaram Nair 13 

Trailhead REST API module unexpected error

Please help with this error:

There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: AJYQYQAP
Best Answer chosen by Balaram Nair 13
Amit Chaudhary 8Amit Chaudhary 8
you dnt worry for your badges. Just login in trailhead with your same username but will doing any activity login with new Developer org from below screen.
User-added image

Let us know if this will help you
 

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Is Namespace or domain is enable in your org ??
If yes then please create new developer org and try again same module.
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.
 
Balaram Nair 13Balaram Nair 13
Yes I am using lightning components in this org. I believe LC uses namespace. But if I create a new DE how can I transfer by points & badges from the current org? I have lots of them and don't want to start all over again. I think this is a bug Salesforce should fix. Why doesn't it like namespace org?
Amit Chaudhary 8Amit Chaudhary 8
you dnt worry for your badges. Just login in trailhead with your same username but will doing any activity login with new Developer org from below screen.
User-added image

Let us know if this will help you
 
This was selected as the best answer
Balaram Nair 13Balaram Nair 13
oh, I see. So I will have to maintain two Dev orgs then. Thanks.
Balaram Nair 13Balaram Nair 13
I did that but no luck. I created a new DE and then logged in by clicking "Connect to Developer edition" and also used the same account for workbench and got the below error. The ID is different this time.

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: TTBRAHUC
Amit Chaudhary 8Amit Chaudhary 8
If you want i can lookinto your org. Please feel free to connect with me on my email id "amit.salesforce21@gmail.com"