In Google Index API get an error private://google_index_api/ is invalid

Google Index API module installed but on configuration screen get following error when upload jason file. "The file could not be uploaded because the destination private://google_index_api/ is invalid"

 

Google Index API

So I have found the solution

In settings.php search the following tag

$settings['file_private_path']

I have change them as below.

$settings['file_private_path'] = 'sites/default/files/private';