zooniverse / Panoptes-Front-End

Front end for zooniverse/Panoptes
https://www.zooniverse.org
Apache License 2.0
64 stars 76 forks source link

Uncaught (in promise) Error: Could not find organization with id='...' #6184

Open mbiesiad opened 1 year ago

mbiesiad commented 1 year ago

Expected behavior

It's secure for mentioned case and appropriate handled.

Current behavior

Uncaught (in promise) Error: Could not find organization with id='...' occurs with zooniverse.org projects.

Steps to replicate

  1. Open browser and DevTools
  2. Go to: https://www.zooniverse.org/projects/dwright04/supernova-hunters/ and https://www.zooniverse.org/projects/ellenjj/rosetta-zoo
  3. Check Console

Additional information

Operating system: Windows Browser: Chromium based

Screenshot: image

(supernova-hunters example)

image

(rosetta-zoo example)

Best wishes,

eatyourgreens commented 1 year ago

I had a quick look at this. Both of those projects do have an organisation ID in project.links.organization so I'm not sure what's going on here.

mbiesiad commented 1 year ago

Thank you for quick message & feedback! If I'm not mistaken the issue occurs also with other projects.

Quick update - confirmed. Other example: https://www.zooniverse.org/projects/zooniverse/gravity-spy Uncaught (in promise) Error: Could not find organization with id='14' at u.handleError

In some cases doesn't occurs (like here: https://www.zooniverse.org/projects/mbarrierz/monkey-health-explorer).