This is example of links file content
https://scihub.copernicus.eu/dhus/odata/v1/Products(‘3466e455-4241-4fd9-9798-a9c8b9ec0898’)/$value
https://scihub.copernicus.eu/dhus/odata/v1/Products(‘63a6d6e9-c963-41bd-8fa4-b52c7ad22d4c’)/$value
…
also it should be possible to use output of cart directly but I don’t know how.
Your error is due to username and password this is an example how you should set it:
wget -i links.txt --no-check-certificate --user=myuser–password=mypas
without bracket in linux and with “” in windows
see this for more info: