I have some issue creating a note in a linked notebook with the iOS evernote SDK.
I've tried to simply get the noteStore in question by
EvernoteNoteStore* noteStore = [EvernoteNoteStore noteStoreForLinkedNotebook:self.linkedNotebook];
I've then attempted to create a note with
[noteStore createNote:note success:success failure:^(NSError *error) {
NSLog(@"%@", error);
}];
This always ends in an error saying I don't have permission to create the note.
I have further tried to authenticate with the shared key in my linked notebook but have there also been stopped with the same error in the failure block.
[noteStore authenticateToSharedNotebookWithShareKey:self.linkedNotebook.shareKey success:^(EDAMAuthenticationResult *result) {
[noteStore createNote:note success:success failure:^(NSError *error) {
NSLog(@"%@", error);
}];
} failure:^(NSError *error) {
NSLog(@"%@", error);
}];
How can I go about the issue of creating a note in a linked notebook?