joseballester / muFunds

µFunds lets you import your asset data from Morningstar and other sources to your Google Sheets spreadsheet by using a simple formula.
https://mufunds.com
81 stars 11 forks source link

XML error with morningstar-uk #21

Closed h1fisher closed 4 years ago

h1fisher commented 4 years ago

This has been working great for me for a long time so thanks so much!

However I found today that when I use morningstar-uk as the source I now return an error. It says:

Error on line 222: The prefix "xml" cannot be bound to any namespace other than its usual namespace; neither can the namespace for "xml" be bound to any prefix other than "xml". (line 106).

Any ideas how to fix this?

rmetzger commented 4 years ago

I'm having the same issue

tairosonloa commented 4 years ago

Same for morningstar-es. It seems like the XML response from them has changed. As a workaround, using only "morningstar"(without specifying a country) is still working.

joseballester commented 4 years ago

Hi all! Thanks for reporting this issue.

I just solved it via pull request #24 and deployed µFunds 2.4 to the G Suite Marketplace.

If the issue is not solved immediately, please wait up to 2 hours so the Google Apps Script cache, where HTML responses are saved, is regenerated. I just tried to load data from my own spreadsheet and most funds are working again.

Thanks again, and let me know if you find any other issue!