Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Blaize Pennington
Blaize Pennington
13,879 Points

In the fetch API workshop, I get a warning from Chrome about passing cookies without the samesite attribute.

Here is the error:

A cookie associated with a cross-site resource at http://dog.ceo/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

1 Answer

Robert Manolis
STAFF
Robert Manolis
Treehouse Guest Teacher

Hi Blaize, can you share some more info about when and where you're seeing this. I just downloaded the project files from that course, and opened up the final finished version, loaded it both locally and with a server, and I didn't see any cookies being blocked. If there's an issue with the this course, we'd love to git it sorted out. So any additional info you can provide would be very much appreciated. Thanks Blaize. And please have a great rest of your day.

Blaize Pennington
Blaize Pennington
13,879 Points

I'm working on a personal server which might be the issue. http://treehouse.blaizepennington.com/fetch/ if that helps

Robert Manolis
Robert Manolis
Treehouse Guest Teacher

Thanks Blaize. We'll review and see what can be done. :)