daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Unhandled Rejection at: Promise Promise {
  2.   <rejected> { Error: Request failed with status code 422
  3.     at createError (C:\xampp\htdocs\Simple-gis\node-api\node_modules\axios\lib\core\createError.js:16:15)
  4.     at settle (C:\xampp\htdocs\Simple-gis\node-api\node_modules\axios\lib\core\settle.js:18:12)
  5.     at IncomingMessage.handleStreamEnd (C:\xampp\htdocs\Simple-gis\node-api\node_modules\axios\lib\adapters\http.js:201:11)
  6.     at IncomingMessage.emit (events.js:165:20)
  7.     at endReadableNT (_stream_readable.js:1101:12)
  8.     at process._tickCallback (internal/process/next_tick.js:152:19)
  9.   config:
  10.    { adapter: [Function: httpAdapter],
  11.      transformRequest: [Object],
  12.      transformResponse: [Object],
  13.      timeout: 0,
  14.      xsrfCookieName: 'XSRF-TOKEN',
  15.      xsrfHeaderName: 'X-XSRF-TOKEN',
  16.      maxContentLength: -1,
  17.      validateStatus: [Function: validateStatus],
  18.      headers: [Object],
  19.      method: 'put',
  20.      url: 'https://security.api.smartystreets.com/identity',
  21.      body: 'username=oHt8Jn3VaSGStvis@oHt8Jn3VaSGStvis.pEQ&password=oHt8Jn3VaSGStvis',
  22.      data: undefined },
  23.   request:
  24.    ClientRequest {
  25.      domain: null,
  26.      _events: [Object],
  27.      _eventsCount: 6,
  28.      _maxListeners: undefined,
  29.      output: [],
  30.      outputEncodings: [],
  31.      outputCallbacks: [],
  32.      outputSize: 0,
  33.      writable: true,
  34.      _last: true,
  35.      upgrading: false,
  36.      chunkedEncoding: false,
  37.      shouldKeepAlive: false,
  38.      useChunkedEncodingByDefault: true,
  39.      sendDate: false,
  40.      _removedConnection: false,
  41.      _removedContLen: false,
  42.      _removedTE: false,
  43.      _contentLength: 0,
  44.      _hasBody: true,
  45.      _trailer: '',
  46.      finished: true,
  47.      _headerSent: true,
  48.      socket: [TLSSocket],
  49.      connection: [TLSSocket],
  50.      _header: 'PUT /identity HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\nOrigin: https://smartystreets.com\r\nReferer: https://smartystreets.com/pricing\r\nUser-Agent: axios/0.18.0\r\nHost: security.api.smartystreets.com\r\nConnection: close\r\nContent-Length: 0\r\n\r\n',
  51.      _onPendingData: [Function: noopPendingOutput],
  52.      agent: [Agent],
  53.      socketPath: undefined,
  54.      timeout: undefined,
  55.      method: 'PUT',
  56.      path: '/identity',
  57.      _ended: true,
  58.      res: [IncomingMessage],
  59.      aborted: undefined,
  60.      timeoutCb: null,
  61.      upgradeOrConnect: false,
  62.      parser: null,
  63.      maxHeadersCount: null,
  64.      _redirectable: [Writable],
  65.      [Symbol(isCorked)]: false,
  66.      [Symbol(outHeadersKey)]: [Object] },
  67.   response:
  68.    { status: 422,
  69.      statusText: 'Unprocessable Entity',
  70.      headers: [Object],
  71.      config: [Object],
  72.      request: [ClientRequest],
  73.      data: [Array] } } } reason: { Error: Request failed with status code 422
  74.     at createError (C:\xampp\htdocs\Simple-gis\node-api\node_modules\axios\lib\core\createError.js:16:15)
  75.     at settle (C:\xampp\htdocs\Simple-gis\node-api\node_modules\axios\lib\core\settle.js:18:12)
  76.     at IncomingMessage.handleStreamEnd (C:\xampp\htdocs\Simple-gis\node-api\node_modules\axios\lib\adapters\http.js:201:11)
  77.     at IncomingMessage.emit (events.js:165:20)
  78.     at endReadableNT (_stream_readable.js:1101:12)
  79.     at process._tickCallback (internal/process/next_tick.js:152:19)
  80.   config:
  81.    { adapter: [Function: httpAdapter],
  82.      transformRequest: { '0': [Function: transformRequest] },
  83.      transformResponse: { '0': [Function: transformResponse] },
  84.      timeout: 0,
  85.      xsrfCookieName: 'XSRF-TOKEN',
  86.      xsrfHeaderName: 'X-XSRF-TOKEN',
  87.      maxContentLength: -1,
  88.      validateStatus: [Function: validateStatus],
  89.      headers:
  90.       { Accept: 'application/json, text/plain, */*',
  91.         'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  92.         Origin: 'https://smartystreets.com',
  93.         Referer: 'https://smartystreets.com/pricing',
  94.         'User-Agent': 'axios/0.18.0' },
  95.      method: 'put',
  96.      url: 'https://security.api.smartystreets.com/identity',
  97.      body: 'username=oHt8Jn3VaSGStvis@oHt8Jn3VaSGStvis.pEQ&password=oHt8Jn3VaSGStvis',
  98.      data: undefined },
  99.   request:
  100.    ClientRequest {
  101.      domain: null,
  102.      _events:
  103.       { socket: [Function],
  104.         abort: [Function],
  105.         aborted: [Function],
  106.         error: [Function],
  107.         timeout: [Function],
  108.         prefinish: [Function: requestOnPrefinish] },
  109.      _eventsCount: 6,
  110.      _maxListeners: undefined,
  111.      output: [],
  112.      outputEncodings: [],
  113.      outputCallbacks: [],
  114.      outputSize: 0,
  115.      writable: true,
  116.      _last: true,
  117.      upgrading: false,
  118.      chunkedEncoding: false,
  119.      shouldKeepAlive: false,
  120.      useChunkedEncodingByDefault: true,
  121.      sendDate: false,
  122.      _removedConnection: false,
  123.      _removedContLen: false,
  124.      _removedTE: false,
  125.      _contentLength: 0,
  126.      _hasBody: true,
  127.      _trailer: '',
  128.      finished: true,
  129.      _headerSent: true,
  130.      socket:
  131.       TLSSocket {
  132.         _tlsOptions: [Object],
  133.         _secureEstablished: true,
  134.         _securePending: false,
  135.         _newSessionPending: false,
  136.         _controlReleased: true,
  137.         _SNICallback: null,
  138.         servername: 'security.api.smartystreets.com',
  139.         npnProtocol: undefined,
  140.         alpnProtocol: false,
  141.         authorized: true,
  142.         authorizationError: null,
  143.         encrypted: true,
  144.         _events: [Object],
  145.         _eventsCount: 9,
  146.         connecting: false,
  147.         _hadError: false,
  148.         _handle: null,
  149.         _parent: null,
  150.         _host: 'security.api.smartystreets.com',
  151.         _readableState: [ReadableState],
  152.         readable: false,
  153.         domain: null,
  154.         _maxListeners: undefined,
  155.         _writableState: [WritableState],
  156.         writable: false,
  157.         allowHalfOpen: false,
  158.         _bytesDispatched: 314,
  159.         _sockname: null,
  160.         _pendingData: null,
  161.         _pendingEncoding: '',
  162.         server: undefined,
  163.         _server: null,
  164.         ssl: null,
  165.         _requestCert: true,
  166.         _rejectUnauthorized: true,
  167.         parser: null,
  168.         _httpMessage: [Circular],
  169.         read: [Function],
  170.         _consuming: true,
  171.         _idleNext: null,
  172.         _idlePrev: null,
  173.         _idleTimeout: -1,
  174.         [Symbol(res)]: [TLSWrap],
  175.         [Symbol(asyncId)]: 40,
  176.         [Symbol(bytesRead)]: 455,
  177.         [Symbol(connect-options)]: [Object] },
  178.      connection:
  179.       TLSSocket {
  180.         _tlsOptions: [Object],
  181.         _secureEstablished: true,
  182.         _securePending: false,
  183.         _newSessionPending: false,
  184.         _controlReleased: true,
  185.         _SNICallback: null,
  186.         servername: 'security.api.smartystreets.com',
  187.         npnProtocol: undefined,
  188.         alpnProtocol: false,
  189.         authorized: true,
  190.         authorizationError: null,
  191.         encrypted: true,
  192.         _events: [Object],
  193.         _eventsCount: 9,
  194.         connecting: false,
  195.         _hadError: false,
  196.         _handle: null,
  197.         _parent: null,
  198.         _host: 'security.api.smartystreets.com',
  199.         _readableState: [ReadableState],
  200.         readable: false,
  201.         domain: null,
  202.         _maxListeners: undefined,
  203.         _writableState: [WritableState],
  204.         writable: false,
  205.         allowHalfOpen: false,
  206.         _bytesDispatched: 314,
  207.         _sockname: null,
  208.         _pendingData: null,
  209.         _pendingEncoding: '',
  210.         server: undefined,
  211.         _server: null,
  212.         ssl: null,
  213.         _requestCert: true,
  214.         _rejectUnauthorized: true,
  215.         parser: null,
  216.         _httpMessage: [Circular],
  217.         read: [Function],
  218.         _consuming: true,
  219.         _idleNext: null,
  220.         _idlePrev: null,
  221.         _idleTimeout: -1,
  222.         [Symbol(res)]: [TLSWrap],
  223.         [Symbol(asyncId)]: 40,
  224.         [Symbol(bytesRead)]: 455,
  225.         [Symbol(connect-options)]: [Object] },
  226.      _header: 'PUT /identity HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\nOrigin: https://smartystreets.com\r\nReferer: https://smartystreets.com/pricing\r\nUser-Agent: axios/0.18.0\r\nHost: security.api.smartystreets.com\r\nConnection: close\r\nContent-Length: 0\r\n\r\n',
  227.      _onPendingData: [Function: noopPendingOutput],
  228.      agent:
  229.       Agent {
  230.         domain: null,
  231.         _events: [Object],
  232.         _eventsCount: 1,
  233.         _maxListeners: undefined,
  234.         defaultPort: 443,
  235.         protocol: 'https:',
  236.         options: [Object],
  237.         requests: {},
  238.         sockets: [Object],
  239.         freeSockets: {},
  240.         keepAliveMsecs: 1000,
  241.         keepAlive: false,
  242.         maxSockets: Infinity,
  243.         maxFreeSockets: 256,
  244.         maxCachedSessions: 100,
  245.         _sessionCache: [Object] },
  246.      socketPath: undefined,
  247.      timeout: undefined,
  248.      method: 'PUT',
  249.      path: '/identity',
  250.      _ended: true,
  251.      res:
  252.       IncomingMessage {
  253.         _readableState: [ReadableState],
  254.         readable: false,
  255.         domain: null,
  256.         _events: [Object],
  257.         _eventsCount: 3,
  258.         _maxListeners: undefined,
  259.         socket: [TLSSocket],
  260.         connection: [TLSSocket],
  261.         httpVersionMajor: 1,
  262.         httpVersionMinor: 1,
  263.         httpVersion: '1.1',
  264.         complete: true,
  265.         headers: [Object],
  266.         rawHeaders: [Array],
  267.         trailers: {},
  268.         rawTrailers: [],
  269.         upgrade: false,
  270.         url: '',
  271.         method: null,
  272.         statusCode: 422,
  273.         statusMessage: 'Unprocessable Entity',
  274.         client: [TLSSocket],
  275.         _consuming: true,
  276.         _dumped: false,
  277.         req: [Circular],
  278.         responseUrl: 'https://security.api.smartystreets.com/identity',
  279.         redirects: [],
  280.         read: [Function] },
  281.      aborted: undefined,
  282.      timeoutCb: null,
  283.      upgradeOrConnect: false,
  284.      parser: null,
  285.      maxHeadersCount: null,
  286.      _redirectable:
  287.       Writable {
  288.         _writableState: [WritableState],
  289.         writable: true,
  290.         domain: null,
  291.         _events: [Object],
  292.         _eventsCount: 2,
  293.         _maxListeners: undefined,
  294.         _options: [Object],
  295.         _redirectCount: 0,
  296.         _redirects: [],
  297.         _requestBodyLength: 0,
  298.         _requestBodyBuffers: [],
  299.         _onNativeResponse: [Function],
  300.         _currentRequest: [Circular],
  301.         _currentUrl: 'https://security.api.smartystreets.com/identity' },
  302.      [Symbol(isCorked)]: false,
  303.      [Symbol(outHeadersKey)]:
  304.       { accept: [Array],
  305.         'content-type': [Array],
  306.         origin: [Array],
  307.         referer: [Array],
  308.         'user-agent': [Array],
  309.         host: [Array] } },
  310.   response:
  311.    { status: 422,
  312.      statusText: 'Unprocessable Entity',
  313.      headers:
  314.       { 'access-control-allow-credentials': 'true',
  315.         'access-control-allow-origin': 'https://smartystreets.com',
  316.         'content-length': '134',
  317.         'content-type': 'application/json; charset=utf-8',
  318.         date: 'Sun, 16 Dec 2018 16:04:57 GMT',
  319.         connection: 'close',
  320.         'strict-transport-security': 'max-age=31536000; includeSubDomains' },
  321.      config:
  322.       { adapter: [Function: httpAdapter],
  323.         transformRequest: [Object],
  324.         transformResponse: [Object],
  325.         timeout: 0,
  326.         xsrfCookieName: 'XSRF-TOKEN',
  327.         xsrfHeaderName: 'X-XSRF-TOKEN',
  328.         maxContentLength: -1,
  329.         validateStatus: [Function: validateStatus],
  330.         headers: [Object],
  331.         method: 'put',
  332.         url: 'https://security.api.smartystreets.com/identity',
  333.         body: 'username=oHt8Jn3VaSGStvis@oHt8Jn3VaSGStvis.pEQ&password=oHt8Jn3VaSGStvis',
  334.         data: undefined },
  335.      request:
  336.       ClientRequest {
  337.         domain: null,
  338.         _events: [Object],
  339.         _eventsCount: 6,
  340.         _maxListeners: undefined,
  341.         output: [],
  342.         outputEncodings: [],
  343.         outputCallbacks: [],
  344.         outputSize: 0,
  345.         writable: true,
  346.         _last: true,
  347.         upgrading: false,
  348.         chunkedEncoding: false,
  349.         shouldKeepAlive: false,
  350.         useChunkedEncodingByDefault: true,
  351.         sendDate: false,
  352.         _removedConnection: false,
  353.         _removedContLen: false,
  354.         _removedTE: false,
  355.         _contentLength: 0,
  356.         _hasBody: true,
  357.         _trailer: '',
  358.         finished: true,
  359.         _headerSent: true,
  360.         socket: [TLSSocket],
  361.         connection: [TLSSocket],
  362.         _header: 'PUT /identity HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\nOrigin: https://smartystreets.com\r\nReferer: https://smartystreets.com/pricing\r\nUser-Agent: axios/0.18.0\r\nHost: security.api.smartystreets.com\r\nConnection: close\r\nContent-Length: 0\r\n\r\n',
  363.         _onPendingData: [Function: noopPendingOutput],
  364.         agent: [Agent],
  365.         socketPath: undefined,
  366.         timeout: undefined,
  367.         method: 'PUT',
  368.         path: '/identity',
  369.         _ended: true,
  370.         res: [IncomingMessage],
  371.         aborted: undefined,
  372.         timeoutCb: null,
  373.         upgradeOrConnect: false,
  374.         parser: null,
  375.         maxHeadersCount: null,
  376.         _redirectable: [Writable],
  377.         [Symbol(isCorked)]: false,
  378.         [Symbol(outHeadersKey)]: [Object] },
  379.      data: [ [Object], [Object] ] } }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top