SamsResourceErrors
– Resource Errors¶
-
class
ValidationError
(errors: Dict[str, str])¶ Raised when receiving an invalid request to create or update a resource
The response will include the list of fields and rules that failed validation, under the
errors
attribute. For example:"error": "04001", "name": "ValidationError", "description": "Validation error", "errors": { "name": ["required"] }
This indicates that the field
name
was not supplied with the request (or wasnull
).