Answers Final Challenge - Deserialization Error

Hello - I’m on step 1 of the Answers Final Challenge and I’m running into an error. The code I’ve written for the new Jobs vertical is error-free, but when I click “Save” on the config I get this error:

  • 0:0 Unable to deserialize configuration: Invalid configuration type null

The code I’ve written for the Jobs vertical is as follows (and in the screenshot). I have also tried looking up this error in the HH community and on Google, and I don’t understand what it has to do with my vertical, especially since my vertical is error-free (and has been triple checked at this point! :slight_smile:) Any help you can provide would be much appreciated

Jobs Vertical Code:

“Jobs”: {
“entityTypes”: [
“c_job”
],
“name”: “Jobs”,
“searchableFields”: {
“name”: {
“textSearch”: true
},
“builtin.entityType”: {
“nlpFilter”: true
},
“c_jobDepartment”: {
“nlpFilter”: true
},
“c_employmentType”: {
“nlpFilter”: true
},
“builtin.location”: {
“nlpFilter”: true,
“textSearch”: true
}
}
}

Hi Laura,

I see 2 quick errors:

  1. I think the error is being thrown because the entity type API name is wrong. Since this is a a built-in entity type, it should be “job”. The “c_” is reserved for custom fields and the “ce_” is reserved for custom entity types.

  2. The verticalKey is case sensitive. The instructions ask you to use “jobs” and not “Jobs”. This is not an error that would prevent you from saving but this will be an error when you submit the challenge :slight_smile:

Thanks,
Liz

Hi Liz - Thanks for the speedy response! I made both of these updates and still got the same error. I decided to quit the challenge and restart it, and after some additional tweaking, I was able to save my config (to be honest I’m not exactly sure what was causing this specific error - I’m still learning!

Thanks for the case-sensitive tip. I know you just saved me from a headache/ conundrum later today! :+1:

-LK