以下是请求参数(url = http://sugarcrm.localhost/service/v4_1/rest.php):
method=get_entry_list&input_type=json&response_type=json
&rest_data {"session":"2q67jvlce802e4htsqc94oshkat9henvicvfclprhrbd8ef6k0o0",
"module_name":"Contacts",
"query":"email1=ychaouche@feeder.fr",
"order_by":"",
"offset":0,
"select_fields":[],
"link_name_to_fields_array":[],
"max_results":0,
"deleted":false}
结果我得到了这个:
"{"name":"Access Denied","number":40,"description":"You do not have access"}"
编辑
每当子查询格式错误时都会触发此错误,不一定是当您无法访问模块时,因此应该注意它。