-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 internal when calling jsonRPC API #196
Comments
I have the same issue with the same example of MintyTON. Even though I've created an API token |
same error |
I have this error with testnet when excuting function accept_message() |
Same problem |
I have faced the same issue |
Hi Team, I'm facing the same problem when creating a wallet : data: {
ok: false,
error: 'LITE_SERVER_UNKNOWN: cannot apply external message to current state : Failed to unpack account state',
code: 500
} |
I have faced the same issue |
same issue when trying to send a batch of messages with highload wallet v3 |
same error when try |
Same error, any solutions? |
same error any solutions? |
same issue |
if anyone who resolved this issue , please help to tell us your solution . thank you |
I had the same issue when deploying a wallet. I fixed it by sending some TON to the wallet before deploying it. |
the error means that wallet isn't deployed |
In my case, with this error, it helped me to simply top up my account balance on the test network For most transactions on the network, you need to make a transaction that costs something. And if you make a transaction from an account whose balance is zero, you will receive this error |
Same error when I try this
|
same issue |
Setting API's Swagger hinted it here
|
вся проблема в том, что вы не указываете тип разворачиваемого кошелька, укажите ваш тип при создании |
it's because the wallet version does not match. Need to use V4 version if you follow the demo |
When working with a TON Testnet wallet, you should "unpack" the wallet mnemonics like this: // Convert mnemonics to private key
let mnemonics = process.env.ADMIN_TON_WALLET_SEED!.split(" ");
let keyPair = await mnemonicToPrivateKey(mnemonics);
const workchain = 0;
const wallet = WalletContractV5R1.create({
publicKey: keyPair.publicKey,
workchain,
walletId: {
networkGlobalId: -3, // Important!!, this is the testnet walletId context. Set this to remove the unpack error.
},
}); If you search the resulting address in https://testnet.tonviewer.com/, you should see the matching address. NOTE: This is assuming that your wallet contract is already deployed: https://docs.ton.org/v3/guidelines/smart-contracts/howto/wallet#--external-and-internal-messages |
howdy guys happy coding... |
I encountered the same issue on the TON testnet when an account remains idle for a few months. I believe this might be related to the node or missing account transactions. In the case of my Jetton account, its state changed to 'frozen,' although my wallet is still active |
i am getting the same error if any body solution to this problem please notify me |
Hey guys. You may need to specify that it is a testnet wallet: let wallet = WalletContractV5R1.create({
publicKey: keyPair.publicKey,
workChain: 0, // Usually you need a workchain 0
walletId: {
networkGlobalId: -3, // -239 is mainnet, -3 is testnet
},
});
}); |
I tried to use testnet swagger to call JsonRPC method. But always got error
"error": "LITE_SERVER_UNKNOWN: cannot apply external message to current state : Failed to unpack account state"
.The message contains some value for deploying NFT collection contract. the base of source code has been provided by
https://github.com/coalus/MintyTON
and the contract is based on testnet.The text was updated successfully, but these errors were encountered: