LIT-Protocol / js-serverless-function-test

12 stars 5 forks source link

Got error "execution reverted: ERC721: invalid token ID" #2

Closed j-labs-xyz closed 1 year ago

j-labs-xyz commented 1 year ago

@glitch003

I tried yarn run sign in this repo https://github.com/LIT-Protocol/js-serverless-function-test on latest main branch

and got the following error, just wonder are you getting the same result? Thanks.

{
    status: 'rejected',
    reason: {
      message: 'Error executing JS: Error: (code: 3, message: execution reverted: ERC721: invalid token ID, data: Some(String("0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000184552433732313a20696e76616c696420746f6b656e2049440000000000000000")))\n' +
        '    at async go (<user_provided_script>:14093:15)',
      errorCode: 'js_execution_error'
    }
  }
glitch003 commented 1 year ago

Hi, I just fixed this, give it a shot