# API schema validation error: Contains an invalid property: tokenUrl

**URL:** <https://community.postman.com/t/api-schema-validation-error-contains-an-invalid-property-tokenurl/20805>\
**Category:** Help Hub\
**Tags:** apidesign, validation\
**Created:** [February 25, 2021, 7:44pm UTC](https://community.postman.com/t/api-schema-validation-error-contains-an-invalid-property-tokenurl/20805 "2021-02-25T19:44:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CBoland](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cboland/32/1553_2.png) [@CBoland](https://community.postman.com/u/CBoland)\
**Post date:** [February 25, 2021, 7:44pm UTC](https://community.postman.com/t/api-schema-validation-error-contains-an-invalid-property-tokenurl/20805/1 "2021-02-25T19:44:54Z")

</div>

I’m working on the Define tab of an API. Schema selection on Define tab is _OpenAPI 3.0_. Postman is validating the definition and displays the following error:

_Validation error. Contains an invalid property: tokenUrl._

Below is a fragment of the definition. I checked the OpenAPI specification for [OAuth Flow Object](https://swagger.io/specification/#oauth-flow-object). Spelling of `tokenUrl` is correct and it is indeed required. If I remove `tokenUrl` property, validation succeeds.

Am I missing something here?

```
{
    "components": {
        "securitySchemes": {
            "Bearer": {
                "type": "oauth2",
                "flows": {
                    "implicit": {
                        "authorizationUrl": "https://example.org/oauth2/authorize",
                        "tokenUrl": "https://example.org/oauth2/token",
                        "refreshUrl": "https://example.org/oauth2/token",
                        "scopes": {}
                    }
                }
            }
        }
    }
}

```

System Info:  
Postman for Windows v8.0.6  
win32 10.0.19042 / x64

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 29, 2025, 10:07am UTC](https://community.postman.com/t/api-schema-validation-error-contains-an-invalid-property-tokenurl/20805/2 "2025-04-29T10:07:41Z")

</div>

Closed on April 29, 2025, 10:07am UTC

Sorry we didn’t get to this sooner. This isn’t the experience we want for our users.

We’re closing out older posts to help keep the community organized and relevant. If this issue is still affecting you, please start a new topic with any updated details and we’ll be happy to help. Our latest Postman Drop has information about [Spec Hub](https://community.postman.com/t/the-postman-drop-design-sync-and-manage-apis-without-the-switching-tax/78684) that might help here.
