# BadRequestError: checks.state argument is missing - Doc example

**URL:** <https://community.auth0.com/t/badrequesterror-checks-state-argument-is-missing-doc-example/74876>\
**Category:** Get Help\
**Tags:** authorize, login\
**Created:** [December 14, 2021, 1:41pm UTC](https://community.auth0.com/t/badrequesterror-checks-state-argument-is-missing-doc-example/74876 "2021-12-14T13:41:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonpawelko](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jonpawelko/32/33352_2.png) [@jonpawelko](https://community.auth0.com/u/jonpawelko)\
**Post date:** [December 14, 2021, 1:41pm UTC](https://community.auth0.com/t/badrequesterror-checks-state-argument-is-missing-doc-example/74876/1 "2021-12-14T13:41:29Z")

</div>

I get a “BadRequestError: checks.state argument is missing” every time when trying to use the Auth0 documentation example for the Authorization Code Flow. I pasted the call below with the generic data for this post, but the documentation automatically populated my Application’s parameters, which I then pasted into my App. When I try to call this, I immediately get the checks.state error every time. I have seen many references to this error, usually in production, but I can’t even get a simple example to work and I haven’t seen a simple answer yet. Thanks!

[https://dev-ae79isjb.us.auth0.com/authorize](https://dev-ae79isjb.us.auth0.com/authorize)?  
response\_type=code&  
client\_id=gE7gApLBe9W7VBpyaNe8DuFo7qv53FT0&  
redirect\_uri=undefined&  
scope=SCOPE&  
state=STATE

---

<div class="post-metadata">

**Author:** ![jonpawelko](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jonpawelko/32/33352_2.png) [@jonpawelko](https://community.auth0.com/u/jonpawelko)\
**Post date:** [December 14, 2021, 11:59pm UTC](https://community.auth0.com/t/badrequesterror-checks-state-argument-is-missing-doc-example/74876/2 "2021-12-14T23:59:14Z")

</div>

I redesigned my application to not require this feature.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 15, 2021, 11:49am UTC](https://community.auth0.com/t/badrequesterror-checks-state-argument-is-missing-doc-example/74876/3 "2021-12-15T11:49:02Z")

</div>

Thanks for letting us know!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 15, 2021, 11:49am UTC](https://community.auth0.com/t/badrequesterror-checks-state-argument-is-missing-doc-example/74876/4 "2021-12-15T11:49:05Z")

</div>


