- System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
- at System.Xml.XmlTextReaderImpl.Throw(Exception e)
- at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
- at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
- at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
- at System.Xml.XmlReader.MoveToContent()
- at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
- at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
- at SalamMehr.Controllers.CallRecordController.GetSession() in C:\Users\Delfan\source\repos\SalamMehr\SalamMehrCallRecordWebService\Controller\CallRecordController.cs:line 32
- at SalamMehr.Controllers.CallRecordController.GetCallRecordAudio(String Ani, String Agentid, DateTime dateTime) in C:\Users\Delfan\source\repos\SalamMehr\SalamMehrCallRecordWebService\Controller\CallRecordController.cs:line 59
- at lambda_method2(Closure, Object, Object[])
- at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
- --- End of stack trace from previous location ---
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
- --- End of stack trace from previous location ---
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
- at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
- at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
- at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
- at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
- HEADERS
- =======
- Accept: */*
- Accept-Encoding: gzip, deflate
- Accept-Language: en-US,en;q=0.5
- Connection: keep-alive
- Host: 192.168.68.52:8080
- Referer: http://192.168.68.52:8080/swagger/index.html
- User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Recent Pastes