You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the viewer doesn't respond to a 401 return in a nice way.
JavaScript console shows:
[Error] Failed to load resource: the server responded with a status of 401 () (RID,url,filename,label,description,color_r:=model_mesh:color_r,color_g:=model_mesh:color_g,color_b:=model_mesh:color_b,opacity:=model_mesh:opacity, line 0)
View is hanging showing message "Loading Data".
Checking the requested resource directly, I get:
401 Unauthorized
The requested select access on :viz:model:RID is forbidden.
I would think that you should get some kind of error popup or something like that in the case where one of the URLs fails to respond in the expected manner.
The text was updated successfully, but these errors were encountered:
This would be a good feature to have. It's on my list, but I'm currently prioritizing the Minid Client release ahead of this. I should be able to start on it the end of this week or the beginning of the next.
The PR updates the message when there is an error, and additionally provides some better debugging info so you can see which param failed, what it tried to fetch (unquoted), and what JSON it returned (If the server did return JSON but contained errors). Here's a screenshot of a bad fetch:
It looks like the viewer doesn't respond to a 401 return in a nice way.
JavaScript console shows:
[Error] Failed to load resource: the server responded with a status of 401 () (RID,url,filename,label,description,color_r:=model_mesh:color_r,color_g:=model_mesh:color_g,color_b:=model_mesh:color_b,opacity:=model_mesh:opacity, line 0)
View is hanging showing message "Loading Data".
Checking the requested resource directly, I get:
401 Unauthorized
The requested select access on :viz:model:RID is forbidden.
I would think that you should get some kind of error popup or something like that in the case where one of the URLs fails to respond in the expected manner.
The text was updated successfully, but these errors were encountered: