
I am getting this issue while adding a cookie in Chrome dev tools (it gets highlighted in red), so I am not able to add any cookies. I even tried to reset the Chrome browser, but it's not working.

I am getting this issue while adding a cookie in Chrome dev tools (it gets highlighted in red), so I am not able to add any cookies. I even tried to reset the Chrome browser, but it's not working.
If you update your chrome or restart your laptop recently(10-Feb-2022), you cannot add cookies manually in chrome now. The reason is the newest update of Chome disable the SameSite by default cookies setting.
the solution is:
chrome://flags