Confirmed that SCA now returns the 'code' field not empty:
{'detail': 'Submitted data is not valid.',
'error_list': [{'code': 'invalid', 'extra': {'name': 'snap_name'}, 'message': 'The name ' 'jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj ' 'should not be longer than 40 characters.'}],
'invalid_params': [{'code': 'invalid', 'name': 'snap_name', 'reason': 'The name ' 'jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj ' 'should not be longer than 40 characters.'}],
'status': 400,
'title': 'Invalid request.',
'type': 'devportal:v1:request-invalid'}
Confirmed that SCA now returns the 'code' field not empty:
{'detail': 'Submitted data is not valid.',
'extra' : {'name': 'snap_name'},
'message' : 'The name '
'jjjjjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjj '
'should not be longer than 40 characters.'}],
'name': 'snap_name',
'reason' : 'The name '
'jjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjjjjj '
'should not be longer than 40 characters.'}], v1:request- invalid' }
'error_list': [{'code': 'invalid',
'invalid_params': [{'code': 'invalid',
'status': 400,
'title': 'Invalid request.',
'type': 'devportal: