def METHOD_NAME(config: Mapping[str, Any]):
    if "reader_options" in config:
        try:
            config["reader_options"] = json.loads(config["reader_options"])
            if not isinstance(config["reader_options"], dict):
                raise ConfigurationError(
                    "Field 'reader_options' is not a valid JSON object. "
                    "Please provide key-value pairs, See field description for examples."
                )
        except ValueError:
            raise ConfigurationError("Field 'reader_options' is not valid JSON object. https://www.json.org/")
    else:
        config["reader_options"] = {}
    config["url"] = dropbox_force_download(config["url"])
    parse_result = urlparse(config["url"])
    if parse_result.netloc == "docs.google.com" and parse_result.path.lower().startswith("/spreadsheets/"):
        raise ConfigurationError(f'Failed to load {config["url"]}: please use the Official Google Sheets Source connector')
    return config