SendBirdException code=800220, message=Failed to find configured root that contains

Hi @Doo_Rim

You are correct in the sense that I do not have <root-path name="root" path="."/> declared in my own file_provider_paths.xml

However, this should not be necessary as the media is being accessed from the SDK using the SDK FileProvider, which does contain <root-path name="root" path="."/> in the sb_file_paths.xml

Also, file provider entries doesn’t seem to override each other, meaning that my config is not overriding SendBird’s. I can see both path configuration files (mine and SendBird) in the final apk.


Screenshot 2021-08-19 at 09.46.14

I will still give your suggestion a try though.

Update:

I added <root-path name="root" path="."/> to my file_provider_paths.xml and seems to be working. I’m quite puzzled about how can this be possible.
Any quick explanation or doc link would be much appreciated.
Probably also worth mentioning in the documentation (unless a whole revamp is on it’s way based on the discussion here: SendBird UiKit using androidx.core.content.FileProvider directly )

1 Like