Fatal Error on customvalue get api
Replicated on dmaster http://dmaster.demo.civicrm.org/civicrm/api#explorer
Entity = CustomValue
Action = get
Fields to return => custom_1
Parameter => entity_id = <any contact id>
$result = civicrm_api3('CustomValue', 'get', [
'sequential' => 1,
'return' => "custom_1",
'entity_id' => 202,
]];
Result -
"is_error": 1,
"error_message": "A fatal error was triggered: is not of type String"