EBDEBT2's avatar
EBDEBT2
Copper Contributor
Dec 05, 2022
Status:
New

Upload corrupted docx to OneDrive by direct API would cause generalException

We are encountering a issue that if we upload corrupted docx to OneDrive by direct API, we would get an generalException error.

"error":{"code":"generalException","message":"General exception while processing"}
After investigation, if we upload the same file via OneDrive webUI, we would also get error but with more meaningful message : "CobaltAllZeroDetected".
Does anyone know how we could determine whether the generalException is caused by corrupted file or not? It is important for us to handle the exception. Thank you.
No CommentsBe the first to comment