Chrome extension working again!
The Chrome extension is now fixed! You must update to version 1.4.1 to use the fixed code. It should eventually update automatically, but if you want to update it right now you can browse to this URL: chrome://extensions/ and click the Update button at the top.
I also made a quick speed upgrade. The old version took over a minute to update the data, but with the new version it takes about 5 seconds! I've submitted two versions with the speed upgrade. Version 1.4.2 had a bug. Version 1.4.3 is the version that works.
What caused this issue?
Garmin changed the URLs to the files that the extension fetch. The part 'modern/proxy/' was removed from the URLs.
Garmin also added two new required headers. One is a static header and the other is an dynamic header that can be fetched from localStorage in the browser.
- 'di-backend': 'connectapi.garmin.com'
- 'Authorization':'Bearer ' + JSON.parse(localStorage.token).access_token