I want to create a Google sheet connection programmatically using the connections API.
I am getting an error and not sure whats going on here
This is the URL – POST https://eu1.make.com/api/v2/connections?teamId=xxxxx
Body
{
"accountName": "google_test",
"accountLabel": "Google Test",
"accountType": "oauth",
"scopes": [
"https://www.googleapis.com/auth/userinfo.email",
"https://mail.google.com/"
]
}
Response:
{
"detail": "Failed to load manifest for connection 'oauth'.",
"message": "Bad Request",
"code": "SC400"
}
How do I fix this? Thanks!