500内部服务器错误:发生错误(0):未知数据属性field_group_privacy

时间:2015-10-07 07:03:39

标签: php rest drupal server drupal-nodes

我正在尝试使用服务模块创建服务以在组中创建节点类型讨论,但是收到错误:

500 Internal Server Error : An error occurred(0): Unknown data property field_group_privacy

在我给出的标题中:

Content-type:application/json

x-csrf-token:token value

session-name:session name value

在我给出的身体中:

{
"og_group_ref": {"und": [{"target_id": "3897"}]},

"title": "Title of discussion",

"field_description": {"und": [{"value": "test description"}]},

"type": "discussion"

}

有人可以告诉我为什么会收到此错误吗?

ScreenShot

1 个答案:

答案 0 :(得分:0)

您发布数据的服务在其代码中有错误。它可能试图用一个名为" group privacy"那不存在。或者查看该数据的查询无效