Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "config": {
- "adapter": ["xhr", "http"],
- "baseURL": "https://devheyeyapi.azurewebsites.net/api/",
- "data": "{\"settingId\":1,\"value\":\"false\"}",
- "env": {
- "Blob": [Function Blob],
- "FormData": [Function FormData]
- },
- "headers": [Object],
- "maxBodyLength": -1,
- "maxContentLength": -1,
- "method": "put",
- "timeout": 0,
- "transformRequest": [
- [Function transformRequest]
- ],
- "transformResponse": [
- [Function transformResponse]
- ],
- "transitional": {
- "clarifyTimeoutError": false,
- "forcedJSONParsing": true,
- "silentJSONParsing": true
- },
- "url": "users/10/settings/1",
- "validateStatus": [Function validateStatus],
- "xsrfCookieName": "XSRF-TOKEN",
- "xsrfHeaderName": "X-XSRF-TOKEN"
- },
- "data": {
- "Message": "The property 'UserSetting.UserId' is part of a key and so cannot be modified or marked as modified. To change the principal of an existing entity with an identifying foreign key, first delete the dependent and invoke 'SaveChanges', and then associate the dependent with the new principal.",
- "StatusCode": 500
- },
- "headers": {
- "cache-control": "no-cache,no-store",
- "content-type": "application/json",
- "date": "Sat, 16 Mar 2024 22:19:08 GMT",
- "expires": "-1",
- "pragma": "no-cache",
- "server": "Microsoft-IIS/10.0",
- "x-powered-by": "ASP.NET"
- },
- "request": {
- "DONE": 4,
- "HEADERS_RECEIVED": 2,
- "LOADING": 3,
- "OPENED": 1,
- "UNSENT": 0,
- "_aborted": false,
- "_cachedResponse": undefined,
- "_hasError": false,
- "_headers": {
- "accept": "application/json",
- "authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImViYzIwNzkzNTQ1NzExODNkNzFjZWJlZDI5YzU1YmVmMjdhZDJjY2IiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vZGV2aGV5ZXkiLCJhdWQiOiJkZXZoZXlleSIsImF1dGhfdGltZSI6MTcwOTkwODU1NiwidXNlcl9pZCI6IldLQUpreFQwV0tkQkdlZmRFU3F4NTdQNVNmYjIiLCJzdWIiOiJXS0FKa3hUMFdLZEJHZWZkRVNxeDU3UDVTZmIyIiwiaWF0IjoxNzEwNjI1MDQ2LCJleHAiOjE3MTA2Mjg2NDYsImVtYWlsIjoiZGVtbzIwQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJlbWFpbCI6WyJkZW1vMjBAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.N75rCFV3RXistg6yaxAf4Tb4WFpj93vUE1gVvZmr5MKRdOkZ-LoRbQm0OhDq1FPpXAQ8QqdpnOpTZfyrHQlm3gmY4UeXxYsLFyo6M4w9ToMMH1idRdS80ESJWlkstUmhOb3xDgKtC1HL5PrLqWdpgYY90CTGhHy7reaxrmxHJvRov1IUIXm3hqY7ziPDALbm6WOJSARYtF_IyOy1edylfDLAH_rkYjqNNc6dpziKsOtyF7-gaelnRTvgqRxdSBbl7W2tTYhhyhIVOV-zD-2bfoX_pOYRPVJnrGpYwnai5fgyoWQ1QVpLfkOKWnB7ZmI5p7ETZ9bmdk9LdwkZ33EWmQ",
- "content-type": "application/json-patch+json",
- "x-requested-with": "XMLHttpRequest"
- },
- "_incrementalEvents": false,
- "_lowerCaseResponseHeaders": {
- "cache-control": "no-cache,no-store",
- "content-type": "application/json",
- "date": "Sat, 16 Mar 2024 22:19:08 GMT",
- "expires": "-1",
- "pragma": "no-cache",
- "server": "Microsoft-IIS/10.0",
- "x-powered-by": "ASP.NET"
- },
- "_method": "PUT",
- "_perfKey": "network_XMLHttpRequest_https://devheyeyapi.azurewebsites.net/api/users/10/settings/1",
- "_performanceLogger": {
- "_closed": false,
- "_extras": [Object],
- "_pointExtras": [Object],
- "_points": [Object],
- "_timespans": [Object]
- },
- "_requestId": null,
- "_response": "{\"StatusCode\":500,\"Message\":\"The property \\u0027UserSetting.UserId\\u0027 is part of a key and so cannot be modified or marked as modified. To change the principal of an existing entity with an identifying foreign key, first delete the dependent and invoke \\u0027SaveChanges\\u0027, and then associate the dependent with the new principal.\"}",
- "_responseType": "",
- "_sent": true,
- "_subscriptions": [],
- "_timedOut": false,
- "_trackingName": "unknown",
- "_url": "https://devheyeyapi.azurewebsites.net/api/users/10/settings/1",
- "readyState": 4,
- "responseHeaders": {
- "Cache-Control": "no-cache,no-store",
- "Content-Type": "application/json",
- "Date": "Sat, 16 Mar 2024 22:19:08 GMT",
- "Expires": "-1",
- "Pragma": "no-cache",
- "Server": "Microsoft-IIS/10.0",
- "x-powered-by": "ASP.NET"
- },
- "responseURL": "https://devheyeyapi.azurewebsites.net/api/users/10/settings/1",
- "status": 500,
- "timeout": 0,
- "upload": {},
- "withCredentials": true
- },
- "status": 500,
- "statusText": undefined
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement