Open ioanarusiczki opened 2 months ago
This happens because the error isn't handled in exactly the same way when the request goes through Firefox's built-in navigator.mozAddonManager.sendAbuseReport()
API.
To reproduce locally:
extensions.addonAbuseReport.url
to hit the env you want to hit (by default that pref points to prod. Make sure to reset if once you're done!)mozAddonManager
.If all these steps are followed, you'll see the An unexpected error occurred
. If any of the initial steps are skipped, you won't reproduce the problem and will see Request was throttled.
What happened?
From https://github.com/mozilla/addons/issues/14931#issuecomment-2262712333
After hitting the throttle for the abuse report addon endpoint the frontend displays the following error:
What did you expect to happen?
It is not reproducible for the other abuse report endpoints: collections, ratings, users.
Is there an existing issue for this?
┆Issue is synchronized with this Jira Task