GET request working on Postman but not code on Terminal

I am running a GET on Postman and worked fine with Status 200 ok, but when I pick up the code from Postman and running the Curl/Python on my Mac OS terminal it through a 401 error, can you please help me fix the issue.

curl --location --request GET ‘’ --header ‘Cookie: _instacart_logged_in=1; build_sha=xxxxxxxxxxxxxx; signup_load_perf_date=xxxxxxxxxxxxxx;; _gcl_au=xxxxxxxxx; _fbp=fbxxxxxxxx;…’