© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Getting 403 forbidden when trying to call the Github API [Answered] - C#
C
C#
•
4y ago
•
11 replies
Thinker
Getting 403 forbidden when trying to call the Github API [Answered]
I
'm trying to call
https://api.github.com/repos/thinker227/FolderTool/releases/latest
to get the latest release from a repo
, and accessing the API URL from the browser works perfectly fine
, but when making the request from code using
HttpClient.GetAsync()
HttpClient.GetAsync()
causes it to return 403 forbidden as a response
. This just seems kind of odd
, although maybe I
'm just missing something
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
403 Forbidden
C
C# / help
2y ago
Getting unexpected result when trying to load resources [Answered]
C
C# / help
4y ago
Getting 403 Forbidden in swagger and postman after restarting project.
C
C# / help
3y ago
Im getting an error code when trying to call a method.
C
C# / help
8mo ago