function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pavan kumar vpavan kumar v 

Delete vote records / Down vote in salesforce

Hi Team,
 The user cannot downvote and only he can give thumbs up.
So I thought of deleting the voting record against that Idea made by the user.
but then im getting  the error - 
 System.DmlException: Delete failed. First exception on row 2 with id 0833L0000000260QAA; first error: INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: []


so is there any way to downvote or delete the vote records
SwethaSwetha (Salesforce Developers) 
Hi Pavan,
Are you asking in the context of knowledge article? If so, see https://salesforce.stackexchange.com/questions/253516/is-there-any-permission-to-delete-vote-records-related-to-knowledge-article 

Related: 
https://help.salesforce.com/s/articleView?id=sf.networks_chatter_updown_vote.htm&type=5

If this information helps, please mark the answer as best. Thank you
pavan kumar vpavan kumar v
Hey Swetha , i was asking related to IDEA - i need to make provision for user to Up vote and De vote