access to bookmarks from App Extension

I'm currently working on an extension, which requires access to folders previously selected in app by user. Everything is okay with reading bookmarks, but only in APP... in Today extension i got this error message "The file couldn’t be opened because it isn’t in the correct format."


Both app and extension are registered for app groups and making bookmark in security scope which are saved in UserDefaults for App Group.

The data is not nil so I'm little confused what is wrong.


Could it be that Today Extension cannot have access to bookmarks?