App Database
Make sure the setting "Let apps access your file system" is turned on in Settings > Privacy & security > File system. You can also choose which apps can access your file system by turning individual apps and services settings on or off.
Make sure the setting "Allow apps to access your file system" is turned on. To find this setting, go to Settings>Privacy >File system, or search “File System” in the search bar. Make sure the toggle is on.