Hello,
I’m very very new to n8n.
I use a self hosted version of n8n. (latest version 1.98.2)
I am trying to do my first workflow… without succes
Can you help me please ?
here is my problem.
There is a website I have an account on (made with drupal) about my orders of vegetables. (each week on thursday I have a fresh basket of organic vegetable).
My goal here is to log in, retreave the informations about wich vegetables I will have this week and then send it to me by mail.
So I started my workflow with
schedul trigger
http request (get of the login page)
html extract (In order to snatch the form_build_id (because it changes every time)
Html request (post with my login info + form_build_id)
And I’m stuck here !
Error code “403” I’m forbidden
Forbidden - perhaps check your credentials?
Did I miss something ?
[EDIT] I found that : sites/all/modules/jquery_update/replace/ui/external/jquery.cookie.js
Does it mean something special ? because I can’t seem to found any cookie with my get.
But if I connect myself manually in my navigator I can see a set-cookie when I login.
[EDIT N°2] I found that there is a Google reCAPTCHA. So n8n is seen as a bot and is not getting it ?
Just a thought, - there are three forms on that page, and your css selector returns the first one which is the one in the top right corner. Is this the one form that you are submitting?
If you are targeting the login form on the left side of the page, your selector should probably be
Hi thanks you and sorry for the late reply.
I’m new in n8n and I don’t really know where I need to make the change that you are suggesting.
Should I change my second hhtp request ?
like in my body parameter ?
Because if you are talking about the htlm node, I am using it to grab the form buid id that is contained in the cookie
ok. I made the change but it’s the same result. I have the build id (like before) and I’m still stuck. I think this drupal website use some javascript that is checking if this is a human or not…
Great mystery! I tried and wasn’t able either. You may want to try to use some more advanced web automation nodes in n8n, instead of http request node - playwright, puppeteer, browserless etc.