# "Error 403 No valid crumb was included in the request" error

**URL:** <https://community.postman.com/t/error-403-no-valid-crumb-was-included-in-the-request-error/57010>\
**Category:** Help Hub\
**Tags:** tests, authentication, json\
**Created:** [January 28, 2024, 6:31am UTC](https://community.postman.com/t/error-403-no-valid-crumb-was-included-in-the-request-error/57010 "2024-01-28T06:31:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuvihuyenkiem](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tuvihuyenkiem](https://community.postman.com/u/tuvihuyenkiem)\
**Post date:** [January 28, 2024, 6:31am UTC](https://community.postman.com/t/error-403-no-valid-crumb-was-included-in-the-request-error/57010/1 "2024-01-28T06:31:00Z")

</div>

Hi,

Please with the error `Error 403 No valid crumb was included in the request`.

I’ve checked, I am using the latest version of Postman. This issue has been there for a little while now.

I am just trying to `POST` a request to my server at `http://localhost:8000/login`, and below is the response I get:

```html
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
    <title>Error 403 No valid crumb was included in the request</title>
</head>

<body>
    <h2>HTTP ERROR 403 No valid crumb was included in the request</h2>
    <table>
        <tr>
            <th>URI:</th>
            <td>/api/login</td>
        </tr>
        <tr>
            <th>STATUS:</th>
            <td>403</td>
        </tr>
        <tr>
            <th>MESSAGE:</th>
            <td>No valid crumb was included in the request</td>
        </tr>
        <tr>
            <th>SERVLET:</th>
            <td>Stapler</td>
        </tr>
    </table>
    <hr /><a href="https://eclipse.org/jetty">Powered by Jetty:// 10.0.12</a>
    <hr />

</body>

</html>

```

How do I go about fixing this, please?

I don’t use Postman very often, but I have been using it on accasions for years now. I never had any problem with it before.

Thank you.

---

<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:** [January 28, 2024, 9:54am UTC](https://community.postman.com/t/error-403-no-valid-crumb-was-included-in-the-request-error/57010/2 "2024-01-28T09:54:04Z")

</div>

Hey @tuvihuyenkiem 👋

Welcome to the Postman community :postman:

When was the last time you saw this particular request working? Is there anything different about those successful ones and this one?

That’s a response coming from the server, do you have any more information about the API? What parameters is that expecting for that route?

Do you have any additional logging on the server side that could lead you more information about the error.

> **[403 Forbidden - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403)**
>
> The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.

---

<div class="post-metadata">

**Author:** ![tuvihuyenkiem](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tuvihuyenkiem](https://community.postman.com/u/tuvihuyenkiem)\
**Post date:** [January 28, 2024, 10:24am UTC](https://community.postman.com/t/error-403-no-valid-crumb-was-included-in-the-request-error/57010/3 "2024-01-28T10:24:23Z")

</div>

> [@danny-dainton](#):
>
> Welcome to the Postman community :postman:
> 
> When was the last time you saw this particular request working? Is there anything different about those successful ones and this one?
> 
> That’s a response coming from the server, do you have any more information about the API? What parameters is that expecting for that route?
> 
> Do you have any additional logging on the server side that could lead you more information about the error.

Hi Danny,

Thank you for looking into this.

The server is my ongoing project. This particular route expects a JSON like the below:

```auto
{"email": "chirstian.koblick.10004@gmail.com", "password": "password"}

```

I have currently disabled CORS on the server. The request is working right now:

– I have written simple HTML page, which submits request to it via JQuery AJAX. The server responds as expected.

I have some simple print line every the server receives a request.

This request via Postman DID NOT reach the server at all: I did not see the print line from the server.

With Testfully, this request does get to the server.

With Postman, I am not sure who is rejecting this request…

Thank you again.

---

<div class="post-metadata">

**Author:** ![tuvihuyenkiem](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tuvihuyenkiem](https://community.postman.com/u/tuvihuyenkiem)\
**Post date:** [January 28, 2024, 11:07am UTC](https://community.postman.com/t/error-403-no-valid-crumb-was-included-in-the-request-error/57010/4 "2024-01-28T11:07:15Z")

</div>

Hi,

I would just like to show another fail case. I am using Windows 10, my browsers can access this page just fine:

```auto
http://localhost/work/http_test.html

```

When I run a Postman `GET` on the above URL, the response from Postman is `403 Forbidden`, and the response HTML is:

```html
<html>

<head>
    <meta http-equiv='refresh' content='1;url=/login?from=%2Fwork%2Fhttp_test.html' />
    <script>
        window.location.replace('/login?from=%2Fwork%2Fhttp_test.html');
    </script>
</head>

<body style='background-color:white; color:white;'>

    Authentication required
    <!--
-->

</body>

</html>

```

Thank you.

---

<div class="post-metadata">

**Author:** ![tuvihuyenkiem](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tuvihuyenkiem](https://community.postman.com/u/tuvihuyenkiem)\
**Post date:** [January 30, 2024, 11:21pm UTC](https://community.postman.com/t/error-403-no-valid-crumb-was-included-in-the-request-error/57010/5 "2024-01-30T23:21:40Z")

</div>

Hi,

Found it 🙂 Go to:

**File \> Settings \> Proxy** turn off _Use custom proxy configuration_.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [February 29, 2024, 11:22pm UTC](https://community.postman.com/t/error-403-no-valid-crumb-was-included-in-the-request-error/57010/6 "2024-02-29T23:22:27Z")

</div>

Closed on February 29, 2024, 11:22pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
