The solution is to create the URI with
URI uri = URI.create(signedUrl); client.get() .uri(uri).retrieve().body(Resource.class)
instead of string.