LesterCovax / crypto-sheets

Google Sheets script editor code for managing a cryptocurrency tracking spreadsheet
https://www.reddit.com/r/cryptosheets
GNU General Public License v3.0
475 stars 70 forks source link

TypeError: Cannot read property "id" from undefined. (line 102, file "Code") #32

Closed srnka closed 6 years ago

srnka commented 6 years ago

Hello there I am getting this error, crosschecked IDs on the list and all are correct.

Any thoughts?

thanks 👍

LesterCovax commented 6 years ago

Can you create a patebin of your list of coins in the script?

srnka commented 6 years ago

Hey I managed to get it working have made a silly mistake and that was pulling script from GitHub not local, it works now :).

Thanks a lot for your work :)

capture

rapt-up commented 6 years ago

Hello, I am getting the same TypeError. I added more to myCoins list and when I hit the button to run data this message came up. Not sure how to fix it. Suggestions?

The TypeError directed me to this line of code:

while (coins[n]['id'] !== myCoins[i]) {

Thank you!