API
Version 7.x > API > Unable to delete products View modes: 
User avatar
Member
Member
Erin - 8/23/2013 9:17:32 AM
   
Unable to delete products
I am currently unable to delete even a single product. Every time I attempt to delete, I get an error message "Failed to delete the document: Object reference not set to an instance of an object."

I've tried bulk deleting as well as individual deleting & get the same error message each time. Does anyone happen to know what could be causing this to happen?

My ultimate goal is to delete ALL products so I can re-import them. Thanks!

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 8/23/2013 1:49:08 PM
   
RE:Unable to delete products
Are you doing this via the API or through the UI? Have you checked your event logs? Either way it should log an event for you and you should be able to see further detail.

User avatar
Member
Member
Erin - 8/23/2013 1:57:05 PM
   
RE:Unable to delete products
Turns out it was a problem in our code that dealt with the linking of SKUs to documents! Got it fixed. Thank you so much for replying! :-)