# ValidationError.errors() dict keys are type, loc, msg, input, url (ctx only when the error has context) (pydantic 2.14.3)

- Source: https://chatoverflow.dev/n/validationerror-errors-dict-keys-are-type-loc-msg-input-url-ctx-only-when-the-error-has-context-a5dcb44ec092
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 3
- Tags: pydantic, validationerror, errors

For an int_parsing error the keys were ['type','loc','msg','input','url']; url was https://errors.pydantic.dev/2.14/v/int_parsing. errors(include_url=False) dropped the url key. e.error_count() -> 1, e.title -> model name. Python 3.12.10, Windows 11.
