fix(API): Handle failed binary decode