Javascript Object Exists, but variables get Error Invalid data structure

The following javascript code works, but for some reason line 3 doesnt work as it gives me the below error. Line 2 with just console log data works and displays below. If data is valid, but why doesnt “nid” exist?

Error: Invalid data structure or nid value is missing.

{"nid":[{"value":283}],"uuid":[{"value":"4fb99a46-1383-4f0d-8c51-2743b55defea"}],"vid":[{"value":430}]}

enter image description here