Chapter 3: Patterns (Part 1) Lab: Apply the Attribute Pattern invalid JSON format

Hi friends,
I am getting the following error when I tried to runt the file after making the changes by putting values for location and date.
I am not getting any indication of where the error might be, I used the command
" ./validate_m320 pattern_attribute --file pattern_attribute.json --verbose"
and I am gettitng as
"Error - Invalid JSON format in file:
pattern_attribute.json "

I am not sure if I can post the .json file that I tired to validate, though it is wrong.
Thanks

Hey :wave: @Sri_Sivapurapu,

Welcome to the MongoDB Community Forums! :leaves:

This means that there is some syntax error in the JSON Format. You can try the JSON validator tool to verify your syntax. I would also recommend re-watching the Chapter 3 lecture Guide to Homework Validation.

Kindly copy-paste your JSON text here if the online validator didn’t help. Feel free to reach out for anything else as well.

Regards,
Satyam

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.