AnthonyZJiang / Microsoft-Reward-Chrome-Ext

A Chrome extension for Microsoft Rewards search, for accounts with two-factor authentication.
Apache License 2.0
314 stars 70 forks source link

Continuous error display for new version #47

Closed LeFlairGoD closed 2 years ago

LeFlairGoD commented 2 years ago

Hello, first of all thank you for the nice Extension. I have just downloaded the new version 2.24.1 and installed. However, I consistently get the red error icon displayed. The old Versio still works very well for me, have the first reinstalled! 2.24.0

Greetings

Here is the error message image image

Just see, the automatic rewards do not work either image

ChiIIerr commented 2 years ago

I am also receiving this error

OmikroN-TNS commented 2 years ago

Me too

Speil commented 2 years ago

same here

SsimplyDan commented 2 years ago

yh same

FRKFFR commented 2 years ago

use Microsoft Edge

SsimplyDan commented 2 years ago

alr

LeFlairGoD commented 2 years ago

use Microsoft Edge

No Thanks

icase81 commented 2 years ago

use Microsoft Edge

I am using Edge, and still get the error. 2.24.0 works fine, 2.24.1 does not.

Uncaught (in promise) ParseJSONFailed: Fail to parse the received json document. Has MSR updated its json structure? InnerEx: TypeError: Cannot read properties of null (reading 'promotionType')

Context

extension://bgodbankkcableilakajbiaceeeflpef/_generated_background_page.html

Stack Trace

status/DailyRewardStatus.js:208 (DailyRewardStatus._parsePunchCards) status/DailyRewardStatus.js:194 (DailyRewardStatus._parseDetailedUserStatus) status/DailyRewardStatus.js:58 (DailyRewardStatus.update) background.js:89 (async checkDailyRewardStatus) background.js:68 (async doBackgroundWork)

Seems to be in this line 208:

const promoTypes = card.parentPromotion.promotionType.split(',');

AnthonyZJiang commented 2 years ago

Hi All,

Thanks a lot for reporting. I just managed to get back from a holiday. I've pushed a fix for this error. All should be resolved now!