How to set cookies correctly that were extracted from another website: message: "ID not found"

Hi everyone, I would like to set cookies to a conference page that requires login. I used the Chrome plugin “EditThisCookie” so that I could export / copy all cookies. I used a function step where I pasted the cookies in the following format where {…} stands for ca. 200 lines of code in total:

msg.cookies = [{...},  {...}]
msg.page_id = "https://community.dmexco.com/";
return msg;

However, when I run it, I get the error message: "ID not found" in the console. Any ideas how I could resolve it?

Thanks a lot in advance!!

Screenshot:

— Error log:
Set Cookies node

error:

  1. :arrow_forward:{id: “cw4drpufce3gemjwgh3gcmjwgc”, browser_id: “f22aa693-9cc2-436a-8366-c90809c454e2”, cookies: “[{“domain”:”.community.dmexco.com",“expirationDate”:1757859723,“…+4.5 kB more”, error: Object, page_id: “https://community.dmexco.com/”, payload: 1726324425842}

  2. id: “cw4drpufce3gemjwgh3gcmjwgc”

  3. browser_id: “f22aa693-9cc2-436a-8366-c90809c454e2”

  4. cookies: “[{“domain”:”.community.dmexco.com",“expirationDate”:1757859723,“…+4.5 kB more”

  5. :arrow_forward:error: Object

1. message: "ID not found"

2. ▶source: Object

3. ▶trace: Array(1)

  1. ▶0: Object

    1. id: "b782d392-5a37-4e6e-8ad1-854e33e0e5c7"

    2. name: "Set Cookies"

    3. scope: "7PDuFJ6t5z8DTXSwoZ3xDD"
4. type: "Core.Browser.SetCookies.ErrSession"
  1. page_id: “https://community.dmexco.com/

  2. payload: 1726324425842