Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error in apiRequest
- statusCode: 500
- baseUrl: http://mobiledemo.atrco.com/prismapi/location/exxon/databases/PGE/
- options: { database: 'PGE',
- url: '/ProcedureSession/Event',
- method: 'POST',
- headers: { ATRUserToken: 'P8ICJB84vs4ZvkeryFmeXQ==' },
- body:
- { sessionID: '78efcd00-54c9-11e6-8006-8715ad8a86ed',
- eventID: '7ac4db20-54c9-11e6-8006-8715ad8a86ed',
- personID: 9,
- ChairPersonID: null,
- AuditorID: null,
- iDRefNo: '19',
- sID: null,
- eventDate: '2016-07-28T13:45:00.624Z',
- endDate: '2016-07-28T13:45:00.624Z',
- eventType: 'Join',
- GPS: 'UNKNOWN',
- MIMEType: null,
- characterData: '',
- binaryData: null,
- Base64String: null,
- SharedProcSID: null,
- SharedProcIDRefNo: null },
- baseUrl: 'http://mobiledemo.atrco.com/prismapi/location/exxon/databases/PGE/',
- json: true }
- message: Internal Server Error
- body: { Message: 'An error has occurred.',
- ExceptionMessage: 'The INSERT statement conflicted with the FOREIGN KEY constraint "XFKATRProcSessionEvent1". The conflict occurred in database "PGE", table "dbo.ATRProcSession", column \'SessionID\'.\r\nThe statement has been terminated.',
- ExceptionType: 'System.Data.SqlClient.SqlException',
- StackTrace: ' at ATR.WebAPI.Procedures.Sessions.Events.EventsController.Post(ProcedureSessionEvent sessionevent) in c:\\prism\\prismSvnSprint19R1\\Presentation\\Web\\REST\\Procedures\\Sessions\\Events\\EventsController.cs:line 157\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement