URLSession works on MacOS fail on Linux

Yeah I also think it's related with authorisation. Expired tokens also causes the same error on linux.