Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

fix: TrackJS BBot: There was an error listing files from Google Drive - Error: {} #462

Merged

Conversation

maryia-matskevich-deriv
Copy link
Contributor

@maryia-matskevich-deriv maryia-matskevich-deriv commented Jun 4, 2024

Changes:

fix: TrackJS BBot: There was an error listing files from Google Drive - Error: {}

Findings: the error happens because of the expired access token (details of the full error message are attached below)

Steps to reproduce the error:

  1. click the icon on the top menu "connect your google bot to your google drive..."
  2. connect
  3. go to inspect elements -> application -> local storage -> change the access token to any expired like: ya29.a0AXooCgtg_GJQfqDC6Ulbt3MfGk90PPUpAcGRo-J7vY32VTPV35X77gGqWTXwKKfxBeiOYE2zk8zGd9bAOPhJ1iTd3L1hxhsy3GtBCjxz8KeIaTTUiDk7flCzT-ukJUs0awSZALP8YzcgrAvHmL2IKVC5TjvqZEo0-gaCgYKARsSARESFQHGX2MipL1jfakn94aD7-yzxQkbbA0169
    or like abcd
  4. refresh the page
  5. click the icon "load new blocks(XML file)
  6. choose the checkbox "Google Drive"
  7. click the button "Load"
  8. look at the console

Expected behavior (the team made the decision):
It should not throw the error to trackJS system since the flow works as expected. Once we get the error we show the popup modal to sign in.

Screenshots:

Please provide some screenshots of the change.
Screenshot 2024-06-04 at 14 41 08
Screenshot 2024-06-04 at 09 08 24

Copy link

vercel bot commented Jun 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
binary-bot-on-deriv ✅ Ready (Inspect) Visit Preview Jun 5, 2024 9:24am

Copy link

sonarqubecloud bot commented Jun 5, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

github-actions bot commented Jun 5, 2024

Preview Link: https://pr-462.binary-bot-preview.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

@farabi-deriv farabi-deriv merged commit b698352 into deriv-com:master Jun 18, 2024
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants