I've got an error during request to create adset. The error reason doesn't match with pull request changes but there is another problem.
'error_data': 'null',
json.loads('null') returns NoneType object
error_data.get('blame_field_specs') throws an exception AttributeError: 'NoneType' object has no attribute 'get'
{
'message': 'Invalid parameter',
'type': 'OAuthException',
'code': 100,
'error_data': 'null',
'error_subcode': 1487079,
'is_transient': False,
'error_user_title': 'Invalid targeting spec',
'error_user_msg': 'The specified targeting spec is not valid because: The field audience_positions is not a valid target spec field',
'fbtrace_id': 'Ai7361tVWYjx2dvScd15MG9'
}
I've got an error during request to create adset. The error reason doesn't match with pull request changes but there is another problem.
'error_data': 'null',
json.loads('null')
returns NoneType objecterror_data.get('blame_field_specs')
throws an exceptionAttributeError: 'NoneType' object has no attribute 'get'