Error in Answers > Module 13 > Final Assessment

Hi Hitchhiker Team!

I seem to be experiencing an error in the Module Assessment for Module 13 in the ‘Answers’ track. The only error I’m receiving in this challenge is on the check: ‘Add a new card called communitystory and update data mappings’. I’ve vetted this myself and can’t seem to determine why this check is failing (note: I’ve tried adding a ", " separator to the Formatter function in the subtitle object, but it seems the error is persisting).

Wondering if it would be possible to take a look here? See below for account details:

Account: https://sandbox.yext.com/s/2539552/sitesgit/r/10007/b/master/files/
Preview Experience: https://a41e3efblivepreview.sandboxlandingpagespreview.com/communitystories.html?tabOrder=.%2Findex.html%2Ccommunity_stories%2Cevents%2Cfaqs%2Crestaurants&referrerPageUrl=https%3A%2F%2Fsandbox.yext.com%2F&query=community+story

Screenshot of code attached.

Thanks so much!

Hi Will,

Welcome to the community and congrats on your first post!

Happy to help out here. I took a look and believe that the subtitle is correct. The error I beleive is actually stemming from CTA label. Based on the instructions you want the label to be hardcoded and only be ‘Learn More’. Like so:

CTA1: {
        label: 'Learn More', // The CTA's label
        iconName: 'chevron', // The icon to use for the CTA
        url: profile.landingPageUrl, // The URL a user will be directed to when clicking
        target: '_top', // Where the new URL will be opened
        eventType: 'CTA_CLICK', // Type of Analytics event fired when clicking the CTA
        eventOptions: this.addDefaultEventOptions(),
        // ariaLabel: '', // Accessible text providing a descriptive label for the CTA
      }

As it stands currently, it is checking the Primary CTA label in KG and then if null, it would return “Learn More”.

Let me know if you have any questions and if that solves your issue!

Best,
Alyssa