Comment 2 for bug 1681545

Revision history for this message
Facundo Batista (facundo) wrote :

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'}