Skip to content

Hive Engine Signed In - Intent to Create an Account using "Wallet Independent Onboarding" error

This error shows up when ther is an attempt to create an account. I have tested it using 2 accounts, "cross-fit" (with not enough resources) and with "spaminator" (with enough resources to create an account).

I guess that the message should explain the reason for rejection in the error, so the user can understand, instead of giving the code:

Delegation Delegation2

Error creating account - Invalid response from API: {"error":{"code":-32003,"data":{"code":10,"extension":{"assertion_expression":"available >= -delta"},"message":"Assert Exception","name":"assert_exception","stack":[{"context":{"file":"database.cpp","hostname":"","level":"error","line":5476,"method":"adjust_balance","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"a":{"amount":"1881","nai":"@@000000021","precision":3},"acc":"cross-fit","r":{"amount":"-3000","nai":"@@000000021","precision":3}},"format":"Account ${acc} does not have sufficient funds for balance adjustment. Required: ${r}, Available: ${a}"},{"context":{"file":"database.cpp","hostname":"","level":"warn","line":4440,"method":"_apply_transaction","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"op":{"type":"account_create_operation","value":{"active":{"account_auths":[],"key_auths":[["STM7oZ4vYQPvdmj9G2GwDxWEFPXMPj6summnGTqyq3TFwbLVjzN85",1]],"weight_threshold":1},"creator":"cross-fit","fee":{"amount":"3000","nai":"@@000000021","precision":3},"json_metadata":"{}","memo_key":"STM5ShwAKwD1ci5nEAtKgj3Nqu7mW6sMWnQcAehZvctbCGweou4qg","new_account_name":"hivebridgetest","owner":{"account_auths":[],"key_auths":[["STM5eAQa2kXRCEqDSCqcjaoSZdsaCk527kukp5vSKADLkh5t6cANB",1]],"weight_threshold":1},"posting":{"account_auths":[],"key_auths":[["STM5z9jtqmyXVPH6HPwU5pWDWuzpto1oPr4awUDNcwMCirSFgXJx1",1]],"weight_threshold":1}}}},"format":""},{"context":{"file":"database.cpp","hostname":"","level":"warn","line":4445,"method":"_apply_transaction","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"full_transaction->get_transaction()":{"expiration":"2025-08-11T12:06:33","extensions":[],"operations":[{"type":"account_create_operation","value":{"active":{"account_auths":[],"key_auths":[["STM7oZ4vYQPvdmj9G2GwDxWEFPXMPj6summnGTqyq3TFwbLVjzN85",1]],"weight_threshold":1},"creator":"cross-fit","fee":{"amount":"3000","nai":"@@000000021","precision":3},"json_metadata":"{}","memo_key":"STM5ShwAKwD1ci5nEAtKgj3Nqu7mW6sMWnQcAehZvctbCGweou4qg","new_account_name":"hivebridgetest","owner":{"account_auths":[],"key_auths":[["STM5eAQa2kXRCEqDSCqcjaoSZdsaCk527kukp5vSKADLkh5t6cANB",1]],"weight_threshold":1},"posting":{"account_auths":[],"key_auths":[["STM5z9jtqmyXVPH6HPwU5pWDWuzpto1oPr4awUDNcwMCirSFgXJx1",1]],"weight_threshold":1}}}],"ref_block_num":6874,"ref_block_prefix":2569723212,"signatures":["20179a3254572996b71f36d6b75ed70ca66969edec7b93b463dfced9854907e00f31727c90570035226264b7bba2f67b2b0da68b78714c891c4e775e2e261849fc"]}},"format":""},{"context":{"file":"database.cpp","hostname":"","level":"warn","line":716,"method":"process_non_fast_confirm_transaction","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"trx":{"expiration":"2025-08-11T12:06:33","extensions":[],"operations":[{"type":"account_create_operation","value":{"active":{"account_auths":[],"key_auths":[["STM7oZ4vYQPvdmj9G2GwDxWEFPXMPj6summnGTqyq3TFwbLVjzN85",1]],"weight_threshold":1},"creator":"cross-fit","fee":{"amount":"3000","nai":"@@000000021","precision":3},"json_metadata":"{}","memo_key":"STM5ShwAKwD1ci5nEAtKgj3Nqu7mW6sMWnQcAehZvctbCGweou4qg","new_account_name":"hivebridgetest","owner":{"account_auths":[],"key_auths":[["STM5eAQa2kXRCEqDSCqcjaoSZdsaCk527kukp5vSKADLkh5t6cANB",1]],"weight_threshold":1},"posting":{"account_auths":[],"key_auths":[["STM5z9jtqmyXVPH6HPwU5pWDWuzpto1oPr4awUDNcwMCirSFgXJx1",1]],"weight_threshold":1}}}],"ref_block_num":6874,"ref_block_prefix":2569723212,"signatures":["20179a3254572996b71f36d6b75ed70ca66969edec7b93b463dfced9854907e00f31727c90570035226264b7bba2f67b2b0da68b78714c891c4e775e2e261849fc"]}},"format":""},{"context":{"file":"chain_plugin.cpp","hostname":"","level":"warn","line":1009,"method":"push_transaction","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"trx":{"expiration":"2025-08-11T12:06:33","extensions":[],"operations":[{"type":"account_create_operation","value":{"active":{"account_auths":[],"key_auths":[["STM7oZ4vYQPvdmj9G2GwDxWEFPXMPj6summnGTqyq3TFwbLVjzN85",1]],"weight_threshold":1},"creator":"cross-fit","fee":{"amount":"3000","nai":"@@000000021","precision":3},"json_metadata":"{}","memo_key":"STM5ShwAKwD1ci5nEAtKgj3Nqu7mW6sMWnQcAehZvctbCGweou4qg","new_account_name":"hivebridgetest","owner":{"account_auths":[],"key_auths":[["STM5eAQa2kXRCEqDSCqcjaoSZdsaCk527kukp5vSKADLkh5t6cANB",1]],"weight_threshold":1},"posting":{"account_auths":[],"key_auths":[["STM5z9jtqmyXVPH6HPwU5pWDWuzpto1oPr4awUDNcwMCirSFgXJx1",1]],"weight_threshold":1}}}],"ref_block_num":6874,"ref_block_prefix":2569723212,"signatures":["20179a3254572996b71f36d6b75ed70ca66969edec7b93b463dfced9854907e00f31727c90570035226264b7bba2f67b2b0da68b78714c891c4e775e2e261849fc"]}},"format":""},{"context":{"file":"chain_plugin.cpp","hostname":"","level":"warn","line":2038,"method":"determine_encoding_and_accept_transaction","thread_name":"th_87","timestamp":"2025-08-11T12:05:36"},"data":{},"format":""}]},"message":"Assert Exception:available >= -delta: Account cross-fit does not have sufficient funds for balance adjustment. Required: {\"amount\":\"-3000\",\"precision\":3,\"nai\":\"@@000000021\"}, Available: {\"amount\":\"1881\",\"precision\":3,\"nai\":\"@@000000021\"}"},"id":1,"jsonrpc":"2.0"}: "{"error":{"code":-32003,"data":{"code":10,"extension":{"assertion_expression":"available >= -delta"},"message":"Assert Exception","name":"assert_exception","stack":[{"context":{"file":"database.cpp","hostname":"","level":"error","line":5476,"method":"adjust_balance","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"a":{"amount":"1881","nai":"@@000000021","precision":3},"acc":"cross-fit","r":{"amount":"-3000","nai":"@@000000021","precision":3}},"format":"Account ${acc} does not have sufficient funds for balance adjustment. Required: ${r}, Available: ${a}"},{"context":{"file":"database.cpp","hostname":"","level":"warn","line":4440,"method":"_apply_transaction","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"op":{"type":"account_create_operation","value":{"active":{"account_auths":[],"key_auths":[["STM7oZ4vYQPvdmj9G2GwDxWEFPXMPj6summnGTqyq3TFwbLVjzN85",1]],"weight_threshold":1},"creator":"cross-fit","fee":{"amount":"3000","nai":"@@000000021","precision":3},"json_metadata":"{}","memo_key":"STM5ShwAKwD1ci5nEAtKgj3Nqu7mW6sMWnQcAehZvctbCGweou4qg","new_account_name":"hivebridgetest","owner":{"account_auths":[],"key_auths":[["STM5eAQa2kXRCEqDSCqcjaoSZdsaCk527kukp5vSKADLkh5t6cANB",1]],"weight_threshold":1},"posting":{"account_auths":[],"key_auths":[["STM5z9jtqmyXVPH6HPwU5pWDWuzpto1oPr4awUDNcwMCirSFgXJx1",1]],"weight_threshold":1}}}},"format":""},{"context":{"file":"database.cpp","hostname":"","level":"warn","line":4445,"method":"_apply_transaction","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"full_transaction->get_transaction()":{"expiration":"2025-08-11T12:06:33","extensions":[],"operations":[{"type":"account_create_operation","value":{"active":{"account_auths":[],"key_auths":[["STM7oZ4vYQPvdmj9G2GwDxWEFPXMPj6summnGTqyq3TFwbLVjzN85",1]],"weight_threshold":1},"creator":"cross-fit","fee":{"amount":"3000","nai":"@@000000021","precision":3},"json_metadata":"{}","memo_key":"STM5ShwAKwD1ci5nEAtKgj3Nqu7mW6sMWnQcAehZvctbCGweou4qg","new_account_name":"hivebridgetest","owner":{"account_auths":[],"key_auths":[["STM5eAQa2kXRCEqDSCqcjaoSZdsaCk527kukp5vSKADLkh5t6cANB",1]],"weight_threshold":1},"posting":{"account_auths":[],"key_auths":[["STM5z9jtqmyXVPH6HPwU5pWDWuzpto1oPr4awUDNcwMCirSFgXJx1",1]],"weight_threshold":1}}}],"ref_block_num":6874,"ref_block_prefix":2569723212,"signatures":["20179a3254572996b71f36d6b75ed70ca66969edec7b93b463dfced9854907e00f31727c90570035226264b7bba2f67b2b0da68b78714c891c4e775e2e261849fc"]}},"format":""},{"context":{"file":"database.cpp","hostname":"","level":"warn","line":716,"method":"process_non_fast_confirm_transaction","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"trx":{"expiration":"2025-08-11T12:06:33","extensions":[],"operations":[{"type":"account_create_operation","value":{"active":{"account_auths":[],"key_auths":[["STM7oZ4vYQPvdmj9G2GwDxWEFPXMPj6summnGTqyq3TFwbLVjzN85",1]],"weight_threshold":1},"creator":"cross-fit","fee":{"amount":"3000","nai":"@@000000021","precision":3},"json_metadata":"{}","memo_key":"STM5ShwAKwD1ci5nEAtKgj3Nqu7mW6sMWnQcAehZvctbCGweou4qg","new_account_name":"hivebridgetest","owner":{"account_auths":[],"key_auths":[["STM5eAQa2kXRCEqDSCqcjaoSZdsaCk527kukp5vSKADLkh5t6cANB",1]],"weight_threshold":1},"posting":{"account_auths":[],"key_auths":[["STM5z9jtqmyXVPH6HPwU5pWDWuzpto1oPr4awUDNcwMCirSFgXJx1",1]],"weight_threshold":1}}}],"ref_block_num":6874,"ref_block_prefix":2569723212,"signatures":["20179a3254572996b71f36d6b75ed70ca66969edec7b93b463dfced9854907e00f31727c90570035226264b7bba2f67b2b0da68b78714c891c4e775e2e261849fc"]}},"format":""},{"context":{"file":"chain_plugin.cpp","hostname":"","level":"warn","line":1009,"method":"push_transaction","thread_name":"write_queue","timestamp":"2025-08-11T12:05:36"},"data":{"trx":{"expiration":"2025-08-11T12:06:33","extensions":[],"operations":[{"type":"account_create_operation","value":{"active":{"account_auths":[],"key_auths":[["STM7oZ4vYQPvdmj9G2GwDxWEFPXMPj6summnGTqyq3TFwbLVjzN85",1]],"weight_threshold":1},"creator":"cross-fit","fee":{"amount":"3000","nai":"@@000000021","precision":3},"json_metadata":"{}","memo_key":"STM5ShwAKwD1ci5nEAtKgj3Nqu7mW6sMWnQcAehZvctbCGweou4qg","new_account_name":"hivebridgetest","owner":{"account_auths":[],"key_auths":[["STM5eAQa2kXRCEqDSCqcjaoSZdsaCk527kukp5vSKADLkh5t6cANB",1]],"weight_threshold":1},"posting":{"account_auths":[],"key_auths":[["STM5z9jtqmyXVPH6HPwU5pWDWuzpto1oPr4awUDNcwMCirSFgXJx1",1]],"weight_threshold":1}}}],"ref_block_num":6874,"ref_block_prefix":2569723212,"signatures":["20179a3254572996b71f36d6b75ed70ca66969edec7b93b463dfced9854907e00f31727c90570035226264b7bba2f67b2b0da68b78714c891c4e775e2e261849fc"]}},"format":""},{"context":{"file":"chain_plugin.cpp","hostname":"","level":"warn","line":2038,"method":"determine_encoding_and_accept_transaction","thread_name":"th_87","timestamp":"2025-08-11T12:05:36"},"data":{},"format":""}]},"message":"Assert Exception:available >= -delta: Account cross-fit does not have sufficient funds for balance adjustment. Required: {\"amount\":\"-3000\",\"precision\":3,\"nai\":\"@@000000021\"}, Available: {\"amount\":\"1881\",\"precision\":3,\"nai\":\"@@000000021\"}"},"id":1,"jsonrpc":"2.0"}"

Edited by Piotr "logic"