@maryam234 I’m getting the same issue when trying to import new products using WPAllImport.
Even if I temporarily turn off notifications so ‘in stock’ emails won’t be sent while I’m importing, I get this error.
Did you end up working out how to get around or fix this error? Thanks.