is there anyone who knows why this error occurrs?
LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted
May 24, 2023, 2:46 PM
In order to debug such errors, you should post the whole error, or, better, the code that caused it and the contract address.
May 24, 2023, 2:56 PM
can i dm you?
May 24, 2023, 2:57 PM
Please try searching in this chat, most cases of "external message was not accepted" already have explanation here.
If you don't find one, DM is OK.
If you don't find one, DM is OK.
May 24, 2023, 2:59 PM
thanks
the problem is that i don’t get any error, it seems that the transaction itself is not starting to be processed
data: {
ok: false,
error: 'LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted\n' +
'Cannot run message on account: inbound external message rejected by transaction B0321F614671C655D7F958F199B30DEB39C4FA511637373B1898F63E89BE1A56:\n' +
'exitcode=0, steps=0, gas_used=0',
code: 500
}
data: {
ok: false,
error: 'LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted\n' +
'Cannot run message on account: inbound external message rejected by transaction B0321F614671C655D7F958F199B30DEB39C4FA511637373B1898F63E89BE1A56:\n' +
'exitcode=0, steps=0, gas_used=0',
code: 500
}
May 24, 2023, 3:20 PM
Is the contract deployed? steps=0 suggests that it isn't.
May 24, 2023, 3:45 PM
so i sent money to it and would like to deploy it with this transaction
or i’m missing smth
May 24, 2023, 3:46 PM
You have to send StateInit in the transaction to deploy the contract.
May 24, 2023, 3:57 PM