# Problem with request header in build-in validation

**URL:** <https://community.postman.com/t/problem-with-request-header-in-build-in-validation/79128>\
**Category:** Help Hub\
**Tags:** api, schemavalidation\
**Created:** [April 24, 2025, 6:19am UTC](https://community.postman.com/t/problem-with-request-header-in-build-in-validation/79128 "2025-04-24T06:19:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matustb](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@matustb](https://community.postman.com/u/matustb)\
**Post date:** [April 24, 2025, 6:19am UTC](https://community.postman.com/t/problem-with-request-header-in-build-in-validation/79128/1 "2025-04-24T06:19:58Z")

</div>

Hello,  
I encountered issue in request validation against the OpenAPI specification in the APIs section.  
In the APIs section, I have created an API where I have an OpenAPI specification and a collection.

After sending the request, I receive the following validation error:  
“The required header “PSU-ID” was not found in the transaction”

but according to the schema, this parameter in the header is not required.

```auto
PSU-ID:
      name: PSU-ID
      in: header
      description: |
        Client ID of the PSU in the ASPSP client interface. 
      schema:
        type: string
      required: false
      example: "PSU-1234"

```

It seems that during validation, postman does not consider whether the parameter in the header is required or not.

Is it a bug or am I doing something wrong?  
Thank you
