© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2d ago
dady

Bad Request issue

asp.net
Hello Everyone,I am facing a strange issue I have two deployments (A and B). Deployment B calls an API of Deployment A for package validation from inside an action filter. It works fine after deployment, but after running for some time (days), the call starts failing with 400 Bad Request, most likely before the controller is hit (possibly [ApiController] model validation or early pipeline). The request URL and parameters are correct, and the same call returns 200 when working. Doing an IIS reset immediately fixes the issue without any code or config changes. Has anyone experienced something similar with long-running apps, action filters doing external API calls, or IIS-related behavior?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Bad request (400) - web api
C#CC# / help
3y ago
API request issue
C#CC# / help
12mo ago
❔ VS Debug Bad Request - Invalid Hostname
C#CC# / help
3y ago
Http 400 Bad Request Response [Answered]
C#CC# / help
4y ago