# How to deal with "Accept Cookies" button?

**URL:** <https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695>\
**Category:** Questions\
**Created:** [July 11, 2021, 7:34am UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695 "2021-07-11T07:34:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![karolko](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@karolko](https://community.n8n.io/u/karolko)\
**Post date:** [July 11, 2021, 7:34am UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695/1 "2021-07-11T07:34:52Z")

</div>

Dearest Community members,

I would like to ask you for your help with HTTP Request / HTTP Extract for the following website:  
[https://www.funda.nl/koop/amstelhoek/](https://www.funda.nl/koop/amstelhoek/)

When I open it on PC, there is a Accept Cookies button. Once accepted I can complete a search. But I am unable to do the same using n8n. I do have some other similar requests running and it is working fine, but even after many attempts specifying header parameters, I did not succeed with this website.  
The only explanation I could come up with is my lack of experience/understanding how cookies / header parameters work…

Your help and guidance how to go about this website is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [July 11, 2021, 8:21pm UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695/2 "2021-07-11T20:21:53Z")

</div>

Welcome to the community @karolko

Do the other websites where it is working have the same `Accept Cookie Button`?

---

<div class="post-metadata">

**Author:** ![karolko](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@karolko](https://community.n8n.io/u/karolko)\
**Post date:** [July 11, 2021, 9:45pm UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695/3 "2021-07-11T21:45:28Z")

</div>

Dear RicardoE105,

no, the other ones I use have no Accept cookie button.

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [July 12, 2021, 12:17am UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695/4 "2021-07-12T00:17:54Z")

</div>

How are you sending the cookie?

---

<div class="post-metadata">

**Author:** ![karolko](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@karolko](https://community.n8n.io/u/karolko)\
**Post date:** [July 12, 2021, 9:19pm UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695/5 "2021-07-12T21:19:07Z")

</div>

I have been trying setting some header parameters but I am not sure if I knew what I was doing or what I was supposed to be doing. And when I executed the request, I am getting “ERR\_INVALID\_HTTP\_TOKEN”

I am setting the name of the Parameter as “Cookie” and as “Value” I copied some stuff from Developer console of my browser (Firefox).

**Update** : I tried again and I just set the Name of the parameter as “Cookie” and “Value” as whatever the value is in the GET request I have made via the PC and all seems working now.

---

<div class="post-metadata">

**Author:** ![karolko](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@karolko](https://community.n8n.io/u/karolko)\
**Post date:** [July 13, 2021, 4:36pm UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695/6 "2021-07-13T16:36:35Z")

</div>

Although the solution above is working, its a rather incomplete solution, as the Cookie must have expired next day and I am back to square 1. Anybody knows how to go about this?

---

<div class="post-metadata">

**Author:** ![harshil1712](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/harshil1712/32/1374_2.png) [@harshil1712](https://community.n8n.io/u/harshil1712)\
**Post date:** [July 14, 2021, 7:41am UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695/7 "2021-07-14T07:41:22Z")

</div>

Hey @karolko!

Maybe a node like the [Phantombuster node](https://docs.n8n.io/nodes/n8n-nodes-base.phantombuster) can be helpful.

---

<div class="post-metadata">

**Author:** ![karolko](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@karolko](https://community.n8n.io/u/karolko)\
**Post date:** [July 15, 2021, 8:12pm UTC](https://community.n8n.io/t/how-to-deal-with-accept-cookies-button/6695/8 "2021-07-15T20:12:20Z")

</div>

Thanks a lot for this suggestion. I will have a look. But until now I was trying to avoid 3-rd party dependencies.
