public function validateObject($object, $method = null)
{
parent::validateObject($object, $method);
if (isset($object->scope) && $object->scope !== $this->controller->getScope()) {
throw new ApiErrorException(400, ErrorMessage::ERR_INVALID_VALUE, "Invalid scope");
}
}