You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typically when one creates a record with an incorrect field a validation error with helpful message is returned:
e.g. 'titles': [{'title': 'A Romans story', 'type': 'Otherss', 'lang': 'eng'}] returns an errors field that includes Invalid title type. Otherss not one of MainTitle, AlternativeTitle, Subtitle, TranslatedTitle, Other
However when one provides an incorrect resource_type in either the type or subtype field no errors field is returned:
e.g. 'resource_type': {'type': 'imagess', 'subtype': 'photo'} only returns {"status": 400, "message": "Validation error."}
The text was updated successfully, but these errors were encountered:
Typically when one creates a record with an incorrect field a validation error with helpful message is returned:
e.g.
'titles': [{'title': 'A Romans story', 'type': 'Otherss', 'lang': 'eng'}]
returns an errors field that includesInvalid title type. Otherss not one of MainTitle, AlternativeTitle, Subtitle, TranslatedTitle, Other
However when one provides an incorrect resource_type in either the type or subtype field no errors field is returned:
e.g.
'resource_type': {'type': 'imagess', 'subtype': 'photo'}
only returns{"status": 400, "message": "Validation error."}
The text was updated successfully, but these errors were encountered: