# BUILDKITE\_SOURCE env var not supported

**URL:** <https://forum.buildkite.community/t/buildkite-source-env-var-not-supported/2569>\
**Category:** Pipelines\
**Created:** [February 21, 2023, 5:06pm UTC](https://forum.buildkite.community/t/buildkite-source-env-var-not-supported/2569 "2023-02-21T17:06:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kelokekpe](https://avatars.discourse-cdn.com/v4/letter/k/258eb7/32.png) [@kelokekpe](https://forum.buildkite.community/u/kelokekpe)\
**Post date:** [February 21, 2023, 5:06pm UTC](https://forum.buildkite.community/t/buildkite-source-env-var-not-supported/2569/1 "2023-02-21T17:06:02Z")

</div>

The following error is a result of `BUILDKITE_SOURCE` being present in one of my pipeline steps

```auto
422 One of the steps you provided was invalid: Error parsing `if` expression: "BUILDKITE_SOURCE" is currently not supported. Please contact hello@buildkite.com if you need this added.

```

in my pipeline.yml

```auto
- label: ":cypress: Run Cypress Suite on Staging or Pre-Prod"
    if: build.env("PARALLEL") == "true" || build.env("BUILDKITE_SOURCE") == "webhook"

```

Strange error considering the fact that this environment variable is present on each build - any suggestions?

---

<div class="post-metadata">

**Author:** ![kelokekpe](https://avatars.discourse-cdn.com/v4/letter/k/258eb7/32.png) [@kelokekpe](https://forum.buildkite.community/u/kelokekpe)\
**Post date:** [February 21, 2023, 5:41pm UTC](https://forum.buildkite.community/t/buildkite-source-env-var-not-supported/2569/2 "2023-02-21T17:41:58Z")

</div>

I found the answer to this in the docs here [Using conditionals | Buildkite Documentation](https://buildkite.com/docs/pipelines/conditionals) - looks like I just need to use `buid.source` instead

---

<div class="post-metadata">

**Author:** ![karen.sawrey](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/karen.sawrey/32/1188_2.png) [@karen.sawrey](https://forum.buildkite.community/u/karen.sawrey)\
**Post date:** [February 22, 2023, 1:19pm UTC](https://forum.buildkite.community/t/buildkite-source-env-var-not-supported/2569/3 "2023-02-22T13:19:13Z")

</div>

Hello, @kelokekpe! Welcome to the community! I’m happy that the Buildkite Docs had a solution for you. If you have any further questions - don’t hesitate to ask them on the Forum.

Best!
