For me this was caused by changing from version v2 to v3 of the sdk, see the migration hints. You may need to specify region, or set followRegionRedirects.