Created
February 26, 2021 15:50
-
-
Save dereknahman/6a2911e8b94d2cb0cac1f4233586564e to your computer and use it in GitHub Desktop.
API error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-02-26 15:48:48.662920+0000 I Belong[43041:1085005] [javascript] ================API RESPONSE==================== | |
2021-02-26 15:48:48.662945+0000 I Belong[43041:1198828] Task <E87B4BB2-D0B9-482E-83EE-E82EB4C60AF4>.<111> HTTP load failed, 0/0 bytes (error code: -1009 [1:50]) | |
2021-02-26 15:48:48.663584+0000 I Belong[43041:1198828] Task <E87B4BB2-D0B9-482E-83EE-E82EB4C60AF4>.<111> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x600002730810 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <E87B4BB2-D0B9-482E-83EE-E82EB4C60AF4>.<111>, _NSURLErrorRelatedURLSessionTaskErrorKey=( | |
"LocalDataTask <E87B4BB2-D0B9-482E-83EE-E82EB4C60AF4>.<111>" | |
), NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=https://belong-admin-staging.herokuapp.com/api/v1/tracking, NSErrorFailingURLKey=https://belong-admin-staging.herokuapp.com/api/v1/tracking, _kCFStreamErrorDomainKey=1} | |
2021-02-26 15:48:48.664624+0000 I Belong[43041:1085005] [javascript] ================API ERROR==================== | |
2021-02-26 15:48:48.665579+0000 I Belong[43041:1085005] [javascript] 'error from API request ->', { [Error: Network Error] | |
config: | |
{ url: '/progress/27da81a3581523eaa5bb5d3ae67d48d9', | |
method: 'put', | |
data: '{"progress":{"completed":false}}', | |
headers: | |
{ Accept: 'application/json, text/plain, */*', | |
'Content-Type': 'application/json;charset=utf-8', | |
Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJkZXZpY2VfaWQiOiI0RTY1NkY1OC00QzAzLTQwQTEtQkM1My00QkJEOTI1NDdBNzciLCJleHBpcnkiOjE2NDU4NzMxMjd9.gt3w8r3hOS16niEee7D38G-t7zdsdah7lKdE2uzZ6yg' }, | |
baseURL: 'https://belong-admin-staging.herokuapp.com/api/v1', | |
transformRequest: [ [Function: transformRequest] ], | |
transformResponse: [ [Function: transformResponse] ], | |
timeout: 0, | |
adapter: [Function: xhrAdapter], | |
xsrfCookieName: 'XSRF-TOKEN', | |
xsrfHeaderName: 'X-XSRF-TOKEN', | |
maxContentLength: -1, | |
maxBodyLength: -1, | |
validateStatus: [Function: validateStatus] }, | |
request: | |
{ UNSENT: 0, | |
OPENED: 1, | |
HEADERS_RECEIVED: 2, | |
LOADING: 3, | |
DONE: 4, | |
readyState: 4, | |
status: 0, | |
timeout: 0, | |
withCredentials: true, | |
upload: {}, | |
_aborted: false, | |
_hasError: true, | |
_method: 'PUT', | |
_perfKey: 'network_XMLHttpRequest_1059', | |
_response: 'The Internet connection appears to be offline.', | |
_url: 'https://belong-admin-staging.herokuapp.com/api/v1/progress/27da81a3581523eaa5bb5d3ae67d48d9', | |
_timedOut: false, | |
_trackingName: 1059, | |
_incrementalEvents: true, | |
responseHeaders: undefined, | |
_requestId: null, | |
_cachedResponse: undefined, | |
_headers: | |
{ accept: [Getter/Setter], | |
'content-type': [Getter/Setter], | |
authorization: [Getter/Setter] }, | |
_responseType: '', | |
_sent: true, | |
_lowerCaseResponseHeaders: {}, | |
_subscriptions: [] }, | |
response: undefined, | |
isAxiosError: true, | |
toJSON: [Function: toJSON] } | |
2021-02-26 15:48:48.666591+0000 I Belong[43041:1085005] [javascript] ================API RESPONSE==================== | |
2021-02-26 15:48:48.668457+0000 I Belong[43041:1085005] [javascript] ================API ERROR==================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment