+ Start a Discussion
Nikhil Patil 47Nikhil Patil 47 


Challenge Not yet complete... here's what's wrong: 
The 'My Top Volunteer Organizations' report is not sorting by the correct field.
User-added image
Abhiram Sheshadri 29Abhiram Sheshadri 29 
Hi,

I am trying to complete the App Customization Specialist super badge step 2. I am getting The 'Shift Hours' field on the 'Volunteer Shift Workers' object is not configured correctly error even though I have put the correct formula.

I have tried (floor(( Shift_End_Time__c - Shift_Start_Time__c )*24)) and FLOOR(( Shift_End_Time__c - Shift_Start_Time__c ) * 24 ). Still unable to get past the error and I have already spent couple of days trying to debug the issue.  

Please let me know any solutions. Thanks in advance.
Best Answer chosen by Abhiram Sheshadri 29
Steven NsubugaSteven Nsubuga
The 'Shift Hours' field on the 'Volunteer Shift Workers' object references the shift hours field on Volunteer Shift. 
It is defined as 
Volunteer_Shift__r.Shift_Hours__c


The shift hours field on Volunteer Shift is defined as 
(Shift_End_Time__c - Shift_Start_Time__c) * 24


 
Vivek Jain 36Vivek Jain 36 
Error  UTBMNUOD occurred while trying to verify step in "https://trailhead.salesforce.com/projects/flow_satisfaction/steps/flow_satisfaction_thanks" 
pranav shah 40pranav shah 40 
Hi All,


i am getting following error while running the code on trailhead for Apex Rest Callouts
Line No 12  Variable does not exist: AnimalsCallouts

@isTest
private class AnimalsCalloutsTest {
    @isTest static void testGetCallout() {
        // Create the mock response based on a static resource
        StaticResourceCalloutMock mock = new StaticResourceCalloutMock();
        mock.setStaticResource('GetAnimalResource');
        mock.setStatusCode(200);
        mock.setHeader('Content-Type', 'application/json;charset=UTF-8');
        // Associate the callout with a mock response
        Test.setMock(HttpCalloutMock.class, mock);
        // Call method to test
        HttpResponse result = AnimalsCallouts.makeGetCallout();
        // Verify mock response is not null
        System.assertNotEquals(null,result,
            'The callout returned a null response.');
        // Verify status code
        System.assertEquals(200,result.getStatusCode(),
          'The status code is not 200.');
        // Verify content type   
        System.assertEquals('application/json;charset=UTF-8',
          result.getHeader('Content-Type'),
          'The content type value is not expected.');  
        // Verify the array contains 3 items     
        Map<String, Object> results = (Map<String, Object>) 
            JSON.deserializeUntyped(result.getBody());
        List<Object> animals = (List<Object>) results.get('animals');
        System.assertEquals(3, animals.size(),
          'The array should only contain 3 items.');          
    }   
}

please help

Thanks
Pranav



 
sai manojsai manoj 
User-added image

User-added image

I getting error while doing on Hours Tracking Field which given above 1st snapshot what we we to do , were we want to do 
@@@we@@@@@@we@@@ 
Please help me it urgent
 Iam Upload All  Contact , Opportunity  , Adventure 
What Can  i do now

Challenge Not yet complete... here's what's wrong:
Please check that all of the relationships are maintained for Opportunity Contacts and Adventure Packages that you upload from the spreadsheet.
Sophia Krich-BrintonSophia Krich-Brinton 
Hi all,
I got the following error message while verifying a challenge in my playground. I logged in to my DE and re-did the work, clicked verify, and got the same error. Does anyone know what I should do?
"Step 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: IWDKUFAE"
Thanks-
Sophie
sai manojsai manoj 
Volunteer Organization Status Field in which object we want to create ???