HTTP error 400 Google API

So I’m trying to use google’s Google Form API to create a google form through Anvil but I keep on compiling HTTP error 400

I’ve already used all the three scopes required for the specific function and rechecked the JSON payload but I dont know if it’s working

Here’s my Code Sample, note that I’m using the free version of Anvil:

anvil.google.auth.login(["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/forms.body"])
      accessToken = anvil.google.auth.get_user_access_token()
      createGFormResponse = anvil.http.request("https://forms.googleapis.com/v1/forms",
                                    method = "POST",
                                    json = {
                                      "info": {
                                        "title": "Sample quiz"
                                      }
                                    },
                                    headers = {
                                        'Authorization': 
                                          'Bearer ' + accessToken
                                      })