SU_ERROR_SERIALIZATION is too vague!

Can the official provide more information regarding this error.

The descriptions of the API errors:

SketchUp C API: SketchUpAPI/common.h File Reference

Depending upon the API function, the cause could vary.