Error: error setting up project: api key format error: invalid api key format

I had the same issue, in the uplink setup it should trim whitespace