⚠️ You have to target at least SDK 33 to perform the request:
buildscript {
ext {
buildToolsVersion = "33.0.0" // <- set at least 33.x
minSdkVersion = 21
compileSdkVersion = 33 // <- set at least 33
targetSdkVersion = 33 // <- set at least 33
// …