I’ve just had a user report from a user that the plan upgrade link my app was asking him to visit was 404-ing. It turns out that’s because he wasn’t an admin for the organisation.
Would it be possible to show a friendlier screen to non-admins who click through to upgrade a marketplace plan? The person who contacted me assumed that the 404 was Dependabot’s fault, but without asking for additional permissions for me app (i.e., read permission on
members) I don’t think there’s any way I could have know this user wasn’t an admin.
The URL in question was https://github.com/marketplace/dependabot/upgrade/3/16642985, which is constructed according to the guide here.