-
Notifications
You must be signed in to change notification settings - Fork 244
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
Array deserialization #1063
Comments
Thank you for the detailed description and examples @servedbyskull ! The transaction data appears to be serialized properly in |
|
Looking up that
It's interesting that the "last symbol" byte mentioned in the error in your example code is This isn't an issue specific to |
Any update? |
Did you follow up with DevRel or on Discord? |
Prerequisites
near-api-js
.Description
i have an function on a smart contract which accepts an argument
Vec<TokenMetadata>
from my
node.js
backend i am sending an array, and i am getting an errorsayingExecutionError: Smart contract panicked: panicked at 'Failed to deserialize input from JSON.: Error("Invalid last symbol 51, offset 29.", line: 1, column: 185)', nft/src/lib.rs:91:1
Reproducible demo
https://github.com/servedbyskull/near-api-js-error
Steps to reproduce
Expected behavior
Should run perfectly
Actual behavior
Throwed an error
Your environment
Self-service
The text was updated successfully, but these errors were encountered: