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
{{ message }}
Repository navigation
Give better error message on non-existant instrument session #1507
We don't really know that the visit doesn't exist, only that the user doesn't have access to the visit they've asked for. If the user is not authenticated they won't get as far as numtracker and the request will give a 401.
We could make the error along the lines of Not authorized to create scan number for ixx and cm12345-1. Would that be clearer?
Activity
tpoliaw commentedon Apr 23, 2026
We don't really know that the visit doesn't exist, only that the user doesn't have access to the visit they've asked for. If the user is not authenticated they won't get as far as numtracker and the request will give a 401.
We could make the error along the lines of
Not authorized to create scan number for ixx and cm12345-1. Would that be clearer?DominicOram commentedon Apr 23, 2026
Yh, that'll do, thanks