API doesn't return the error


I am using the API's RWS language cloud in order to get information about file I load via a platform.
The problem is that someone uploaded a file doc but Trados get this error "Error in File Type Detection".

The most problematic thing is that I cannot see this error when I use the API to get information about the status of the state of the analysis, because the response of the API returns status code 200.

How do I detect it? 

thanks for your help.