Error 400- Foreign key reference

I am getting below exception when creating content through API. I have a schema and one of the field is referencing to the another schema which has data like this [{"code:200, message:“Success”},{"code:501, message:“Progress”}]. I am passing code:[“200”] with the request, but I am still getting the below exception.

exception:
“details”:[“code.iv[1]: Reference ‘200’ not found.”]

Please reuse your other support ticket and just answer there.