Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo

Uncaught EDAM\Error\EDAMUserException: Error code: PERMISSION_DENIED Parameter: authenticationToken


  • Please log in to reply
6 replies to this topic

#1 dipanshu

dipanshu

  • PipPip
  • Title: Alliance Lackey
  • Group: Members
  • 72 posts

Posted 14 August 2012 - 06:15 AM

getting error when try to delete note
Uncaught EDAM\Error\EDAMUserException: Error code: PERMISSION_DENIED Parameter: authenticationToken

even i have used full access key still getting this message on browser screen.


this coding i m using in edamtest.php


$dquery ="SELECT * FROM a_evernote where id='".$ID."' and deleted= 1 ";
$dresult = mysql_query($dquery);
echo$dresult;
//var_dump (isset($dresult));
if(isset($dresult))
{

$delete=$noteStore->deleteNote($authtoken, $serverNote->guid);
}

echo "delete operation is ".$delete;
$dsql = "delete from a_evernote where deleted = 1";

$con = mysql_connect("localhost","root","4639");

mysql_select_db("sugarcrm", $con);
$result = mysql_query($dsql);
//$row = mysql_fetch_array($result)


and please help if i have to edit code or do changes
please provide me coding for delete and update note in evernote in php


i have seen updatenote and deletenote function in
http://dev.evernote....ore_expungeNote

but dont know how to use them

#2 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 407 posts

Posted 14 August 2012 - 09:03 PM

What access level did you request for your key? Any chance you are using a basic access key? That could explain the error you are getting.
I can update your key if needed, simply PM me.

#3 dipanshu

dipanshu

  • PipPip
  • Title: Alliance Lackey
  • Group: Members
  • 72 posts

Posted 16 August 2012 - 12:03 PM

What access level did you request for your key? Any chance you are using a basic access key? That could explain the error you are getting.
I can update your key if needed, simply PM me.

i am now using new full access key .so nw delete note operation will work
help if i have to edit code or do changes
please provide me coding for delete and update note in evernote in php


i have seen updatenote and deletenote function in
http://dev.evernote....ore_expungeNote

but dont know how to use them

#4 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 407 posts

Posted 18 August 2012 - 07:14 PM

A full access key lets you delete notes (put them in the trash) but not expunge (permanent deletion). Therefore, you should use deleteNote and note expungeNote.

#5 dipanshu

dipanshu

  • PipPip
  • Title: Alliance Lackey
  • Group: Members
  • 72 posts

Posted 21 August 2012 - 05:30 AM

A full access key lets you delete notes (put them in the trash) but not expunge (permanent deletion). Therefore, you should use deleteNote and note expungeNote.

so how can i permanently delete note even from trash

#6 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 407 posts

Posted 21 August 2012 - 05:32 PM

You can't. We don't let third party developers do permanent deletion of notes.

#7 dipanshu

dipanshu

  • PipPip
  • Title: Alliance Lackey
  • Group: Members
  • 72 posts

Posted 27 August 2012 - 09:13 AM

You can't. We don't let third party developers do permanent deletion of notes.

thanks for your help




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Clip to Evernote