Change error message and print error messages of corpus properties rest api call.