Hi all, I’m having weird issues when using FCL to deploy contracts to Testnet
result from execution node: 2 errors occurred: * rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8 * rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
I was using this repo as the reference https://github.com/portto/fcl-demo/blob/master/src/demo/DeployContract.js
It works perfectly fine when deploying HelloWorld contract, while the issue occurs when I replace with my own contract.
I tried with official Fungible Token sample contract, and it throws the same error.
Another strange thing is that: it may deploy successfully if you deploy for the first time, but please try to change the contract name to for example “ExampleToken2” and try to deploy again, then that error may occur.
Need some help from the Flow team to find a solution for the rpc error but wanted @MaxStarka to be aware that it does not appear to be related to custom contracts since it is happening with “vanilla” Kitty Items repo. Issue happens for both pre-existing and newly create Blocto accounts, so definitely seems like either the response from the backend is incorrect or something needs to be changed in the example Kitty Items code to update the response expected.
Any advice how we can fix this?
Thanks a lot!