Getting 404 error on calling invitations API. #171914
Replies: 3 comments 4 replies
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Hi @aupadhyay-comm 👋, Hope that helps clear it up! |
Beta Was this translation helpful? Give feedback.
-
If PAT belongs to the user also and PAT is also authorized for the org . Is there a way we get 404 not found exception for that invitations API? And also customer is saying their org doesn't use invitations. Is there a way we can turn off invitations ? Or is it possible that if an organization never used invitations then they might get 404 error? I want these answers urgently if someone is available. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
User is the owner of the organization and pat scope contains :
admin: org
read: user
repo
invitation api is fired
https://api.github.com/orgs/<organization_name>/invitations
with the valid pat with mentioned scope. But we are getting 404 not found error!
curl-err:[No error] http-resp:[404] url:[https://api.github.com/orgs/<org_name>/invitations] server-resp:[{"message":"Not Found","documentation_url":"https://docs.github.com/rest/orgs/members#list-pending-organization-invitations","status":"404"}]
Could you please suggest how this can be possible?
Beta Was this translation helpful? Give feedback.
All reactions