Skip to content

Error codes

veriCue error responses use integer codes grouped by area:

1000-1006 - Protocol errors

CodeNameMeaning
1000unknown_errorUnspecified server-side failure
1001parse_errorJSON malformed
1002invalid_requestRequired field missing/wrong type
1003method_not_foundUnknown command name
1004invalid_paramsRequired parameter missing/wrong type
1005internal_errorUnhandled exception in handler
1006protocol_mismatchClient/server protocol version incompatible

1007-1008 - Authentication

CodeNameMeaning
1007authentication_requiredSent a command before handshake completed
1008authentication_failedToken in handshake didn't match server

1009-1012 - Licensing

CodeNameMeaning
1009license_session_limit_reachedConnection exceeds the licensed concurrent-session count
1010license_expiredLicense past its expiry date
1011license_invalidLicense signature invalid or missing
1012trial_expiredTrial mode finished, paid license required

2001-2003 - Object errors

CodeNameMeaning
2001object_not_foundPath didn't resolve to any QObject
2002invalid_object_pathPath syntactically invalid
2003property_not_foundQObject has no such property

2004-2007 - Widget errors

CodeNameMeaning
2004widget_not_visibleCannot interact with a hidden widget
2005widget_not_enabledWidget is disabled
2006not_a_widgetOperation requires a QWidget but got a different QObject
2007screenshot_failedScreen grab failed (offscreen platform?)

2008-2011 - Automation errors

CodeNameMeaning
2008property_read_onlyProperty has no setter
2009invalid_property_valueValue can't be converted to the property type
2010method_invocation_failedinvoke_method failed at runtime
2011method_not_invokableMethod isn't Q_INVOKABLE or a public slot

2012-2018 - Extended

CodeNameMeaning
2012recording_not_activestop_recording called without a prior start_recording
2013signal_not_foundSignal name doesn't exist on the object
2014signal_timeoutwait_for_signal timed out
2016invalid_baselineBaseline image for screenshot_compare missing/unreadable
2017model_not_foundPath didn't resolve to a model
2018invalid_model_indexRow/column out of bounds

2019-2020 - Subscription errors

CodeNameMeaning
2019property_not_notifiableProperty has no NOTIFY signal - can't subscribe
2020subscription_not_foundunsubscribe called with unknown ID

Released under a commercial licence. Privacy · Terms