Evernote/evernote-cloud-sdk-php

listNotebooks() fails for specific users

NickoftheSouth opened this issue · 0 comments

We've developed a website which includes Evernote intergration for creating notes.

Everything works fine, with the production server, for our test acounts.

When our client attempts to connect their account they are seeing the following error;

EDAM\Error\EDAMNotFoundException in /var/www/html/vendor/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php:21493

This is happening on a call to listNotebooks() on the evernote client like so;

    $client = new \Evernote\Client($config->EvernoteToken, false);
    $notebooks = array();
    $notebooks = $client->listNotebooks();

Digging into the evernote code it looks like the problematic causing part is the function: listLinkedNotebooks() from the class: Evernote\Client (377)

The client account has a lot of existing Notes and Notebooks.

It's possible some of the notebooks are shared, is there an additional permission our app needs to access them?

or is there a call we can use to look up a specific notebook by name?