Giter Club home page Giter Club logo

Comments (15)

Eloise1988 avatar Eloise1988 commented on August 30, 2024

I'm not sure where the issue comes from. The toUpperCase() function works fine in my country. I know not all Google Sheets have the same specifications. Depending on the country, I've seen differences.

Here is a public template sheet with the embed CoinGecko.gs code.
If you duplicate, it should work fine.

https://docs.google.com/spreadsheets/d/1QODede4loYFnd9ig_f4vRiO4J4uptxn8zIx3qRsLDeA/edit?usp=sharing

from coingecko.

d3dawizard avatar d3dawizard commented on August 30, 2024

Same issue no luck. The pull gets hung up in "Error Loading Data..."

from coingecko.

devinmancuso avatar devinmancuso commented on August 30, 2024

+1 same issue here.

from coingecko.

d3dawizard avatar d3dawizard commented on August 30, 2024

I think I know what MY issue was, maybe it is similar. I just had too many pull requests from google. I left my google sheets up and went to bed. It timed everything out for 24h, gave it a break and it worked. I have since moved on, but I really liked this idea.

from coingecko.

Eloise1988 avatar Eloise1988 commented on August 30, 2024

Issue seems to come from the localization of Sheet.

Depending on the country, formulas are written differently.

In File Spreadsheet setting, check that Locale is set as United States
photo_2021-04-15 09 19 39

If it's not you can, for example for France, you would call formula using a semi-colon instead of a comma.
Let's say you want Bitcoin's price:

When locale is set to United States formula is:
=GECKOPRICE("BTC","USD")

When locale is set to FRANCE formula is:
=GECKOPRICE("BTC";"USD")

from coingecko.

joaojorgem avatar joaojorgem commented on August 30, 2024

Im having the same problem.
image
I changed my spreadsheet time and local to United Stated but it still doesnt read the "toUpperCase" method

from coingecko.

Eloise1988 avatar Eloise1988 commented on August 30, 2024

Did you try the 2 formulas one with comma and the other one with semi colon:
When formula is, what do you get ?
=GECKOPRICE("BTC","USD")

When formula is, what do you get ?
=GECKOPRICE("BTC";"USD")

FYI: you can reach me here:
https://t.me/TheCryptoCurious
It's easier to trouble shoot.

from coingecko.

joaojorgem avatar joaojorgem commented on August 30, 2024

from coingecko.

joaojorgem avatar joaojorgem commented on August 30, 2024

from coingecko.

sbdonslaught avatar sbdonslaught commented on August 30, 2024

Hello,

I'm getting the same issue as stated above.

I have the spreadsheet settings to be in the United States. I've tried copying the spreadsheet you linked above as well, I get the same error when debugging the code on that sheet too.

Has there been any fix for this?

from coingecko.

Eloise1988 avatar Eloise1988 commented on August 30, 2024

Hello,

Thank you for letting me know. I changed the settings of the sheets. It should work now when you make a copy of the following sheet:https://docs.google.com/spreadsheets/d/1QODede4loYFnd9ig_f4vRiO4J4uptxn8zIx3qRsLDeA/edit?usp=sharing

from coingecko.

sbdonslaught avatar sbdonslaught commented on August 30, 2024

I don't know why but I'm still getting this issue. :/

I've duplicated the sheet, tested it on my own, ran the debug, and it's still not liking the toUpperCase and toLowerCase function.

I'm not sure what other troubleshooting I can do. Any advice?

This is what I'm getting still;
Apr 24, 2021, 2:24:50 PM
Error TypeError: Cannot read property 'toUpperCase' of undefined
at GECKOPRICE(CoinGecko:53:17)

from coingecko.

joaojorgem avatar joaojorgem commented on August 30, 2024

from coingecko.

Eloise1988 avatar Eloise1988 commented on August 30, 2024

What is the message you get when entering your formula in Google Sheets? Can you print screen your formula?

from coingecko.

sbdonslaught avatar sbdonslaught commented on August 30, 2024

I don't know what changed, but I made a third copy of the spreadsheet linked above and it seems to be working now.

Thank you for the quick responses, I really appreciate the help and the scripts! :)

from coingecko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.