New `shopify.reviews.request()` does not work on Firefox

This problem has also been described here.

I implemented the new shopify.reviews.request() modal, but once deployed in production I found a bug happening on Firefox.

The HTTP call to https://admin.shopify.com/api/appStore/graphql?operation=ReviewEligibility&type=query returns 401 with the following body:

{"errors":[{"message":"UnauthorizedAccessError"}]}

The whole page is then reloaded infinitely.

This does not happen on Chromium, the previous call returns 200.

Firefox:

Chromium:

Hi @nullndr

Great to hear you’re using this API already - I’ve flagged this behaviour to the relevant team. I’ll update here once this is resolved.

3 Likes

Hi @nullndr

We’re having difficulties replicating this - could you share the store url where this was happening?

Hi again @nullndr

It’s possible this issue is isolated to your specific environment, as we can’t replicate it or see what would cause this. If you log out of Shopify completely, clear your browser data, and then log back in - does this fix the issue for you?

Hi @Liam-Shopify, yes it looks like this was the issue.

I had to clear everything and it looks like the API call now returns 200 as well.

Thanks

Glad to hear it’s working as expected now :slight_smile: