Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Error 500 on package upload using common package API
-
Hi. There's non obvious behavior on uploading files using common package API with full logging enabled
If API key has full logging enabled (Everything (Request Body + Response body)) request will be responded with 500 status code but package uploaded successfully
HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Length: 62 Content-Type: text/plain Server: Microsoft-IIS/10.0 X-ProGet-Version: 23.0.18.15 X-Powered-By: ASP.NET Date: Mon, 16 Oct 2023 12:17:03 GMT Operation is not valid due to the current state of the object.System.InvalidOperationException: Operation is not valid due to the current state of the object. at Inedo.Web.AhHttpRequest.GetBufferedInputStream() at Inedo.Web.Handlers.Api.ApiKeySecuredHandler.LogApiAccess(AhHttpRequest request, Byte[] responseBody, WrappedApiKey apiKey, Int32 responseCode) at Inedo.Web.Handlers.Api.ApiKeySecuredHandler.ProcessRequestInternalAsync(AhHttpContext context) at Inedo.Web.Handlers.Api.StandardApiHandler.ProcessRequestAsync(AhHttpContext context) -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login