Skip to content

Improve the error message when a required field from the API is not provided #57721

Description

@bugraoz93

Use pydantic is_required() and ask users to fill in before sending requests or building it. Auto-generate appropriate messages
Combine with #57634 if possible

Activity

  1. self-assigned this
    on Nov 3, 2025
  2. added theissue type on Nov 3, 2025
  3. added
    area:API
    on Nov 3, 2025
  4. removed their assignment
    on Dec 11, 2025
  5. Prab-27 commented on Dec 11, 2025

    @Prab-27
    Contributor

    @bugraoz93 ,
    Could you please assign this to me?
    I’ll raise a PR in a couple of days

  6. potiuk commented on Dec 11, 2025

    @potiuk
    Member

    Assigned

  7. Ratasa143 commented on Feb 10, 2026

    @Ratasa143
    Contributor

    Hi! I would like to work on this issue.
    I plan to start by adding tests and improving the validation error message as suggested.
    Please let me know if that’s okay!

  8. Prab-27 commented on Feb 10, 2026

    @Prab-27
    Contributor

    Sorry @Ratasa143 , I already started working on it , but I’m still clarifying some concepts.
    Also, there was an electricity shortage in my area.
    You can review my PR - I’ll raise it soon

  9. Prab-27 commented on Feb 15, 2026

    @Prab-27
    Contributor

    @Ratasa143 would you like to raise a PR

    I couldn't raise one today

    If you’d rather not take this up, please let me know, and I’ll continue the work after next week.

  10. Ratasa143 commented on Feb 15, 2026

    @Ratasa143
    Contributor

    No worries, I'll raise a pr soon!

  11. potiuk commented on Mar 2, 2026

    @potiuk
    Member

    @Prab-27 We are unassigning you from this issue as part of our updated assignment policy.

    This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.

    We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.

  12. rabumaabraham commented on Mar 29, 2026

    @rabumaabraham

    Hi, @potiuk I’d like to work on this issue. Is anyone currently working on it, or can I proceed with adding tests and improving the validation error messages using Pydantic?

  13. bugraoz93 commented on Mar 30, 2026

    @bugraoz93
    ContributorAuthor

    Hi, @potiuk I’d like to work on this issue. Is anyone currently working on it, or can I proceed with adding tests and improving the validation error messages using Pydantic?

    @rabumaabraham We haven't been assigning issues anymore. Please see the doc below
    https://github.com/apache/airflow/blob/main/contributing-docs/04_how_to_contribute.rst#issue-reporting-and-resolution-process

    Last time @Prab-27 mentioned working on it.

    Although since March 2026 above applies so below also possible. The details are in the documentation

    Working in parallel on the same issue is fine, but not the default.

  14. alok-kumar0421 commented on Apr 1, 2026

    @alok-kumar0421

    Hi, I would like to work on this issue. I plan to improve validation error messages using Pydantic and add relevant tests. Please let me know if there are any specific expectations.

  15. added a commit that references this issue on Aug 12, 2026
    6496caf
  16. Stuaarts commented on Aug 31, 2026

    @Stuaarts

    Hi, I'd like to work on this issue as my first contribution. Is it still available ? If so, Could you please assign the issue to me? Thank you !

  17. Prab-27 commented on Sep 1, 2026

    @Prab-27
    Contributor

    @Stuaarts , no need to assign the issue as our new assignment policy - feel free to raise a PR

    IT would be good to check before raising any PR (to stop double PRs on it ) - just comment on issue is fine to start workingo n it

  18. shrishskulkarni commented on Oct 11, 2026

    @shrishskulkarni

    Hi! I'd like to work on this issue as a first-time contributor to Apache Airflow.
    I noticed someone had previously expressed interest in this issue, so I wanted to check whether it's still available to work on. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions