Steps to reproduce: 1. Open AMO editor tools https://addons.allizom.org/en-US/editors/ 2. Go to Queues-Moderated Reviews https://addons.allizom.org/en-US/editors/queue/reviews 3. Click on translate link for any review. Expected results: The review is translated. Actual results: The review is not translated, "Error loading translation" message is displayed. Notes/Issues: Verified in FF33 (Win7) issue can be reproduced in -dev and stage. Screencast for this issue: http://screencast.com/t/wmrjDXCwnK
After investigation, it's because the GOOGLE_API_CREDENTIALS settings aren't set on stage. So the google translation api returns a "400 BAD REQUEST": "reason: KeyInvalid". I'm assigning this to Jason, to see if he can set the same settings as for the production server. I'm also need-info'ing Jorge, to confirm that this is indeed working on production.
Assignee: nobody → jthomas
Priority: -- → P4
I can confirm it's working in prod.
Excellent, thanks Jorge. Jason, do you think we could have that working also on stage, by setting the proper credentials?
GOOGLE_API_CREDENTIALS is set on stage but it may not be correct. Please provide the correct credentials and I will modify stage settings.
I guess it must be the same as the one on production? It's set in the "private" module I believe.
Should we be using the same one as prod here? Should we generate a new one for stage?
I have no idea, Wil?
using the same as prod is fine.
Updated GOOGLE_API_CREDENTIALS on stage.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
I still can reproduce this issue for the majority of reviews. Please view this screencast: http://screencast.com/t/KGMLCBrJihye
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.