ERROR: scopes parameter is missing