none
Microsoft Teams Incoming webhooks stopped working RRS feed

  • Question

  • Our teams webhook used to work normally. All of sudden we started getting below error from the API server from today morning.

    "System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."

    This is observed only for one of our team, for rest of all teams its working fine.

    Any help is appreciable, we have our whole alerting mechanism integrated with Teams and this is serious issue for our monitoring.

    Friday, July 26, 2019 9:46 AM

All replies

  • My organization's Teams webhook is also experiencing the same issue.  Please look into this!  If you need more info, please ask me directly.  Thank you!
    Saturday, August 17, 2019 5:06 AM
  • This has also begun to affect our system some point after 9am 25th August. 

    We have a scheduled WebHook that sends information 3 times a day and that was the last time it ran successfully. 

    Tuesday, August 27, 2019 2:28 PM
  • Have the same problem. Worked yesterday but today sending the same request to webhook returns an error

    "System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."

    Wednesday, October 9, 2019 7:28 AM
  • I am also seeing this issue intermittently using a node.js REST call from the Library 'request-promise'.

    let webHook = $URL(e.g. https://outlook.office.com/webhook/GUID@GUID/UniqueID/UniqueID)
    let postString = $SomeNon-EmptyString
    
    var options = {
        method: 'POST',
        uri: webHook,
        body: {
            text: postString
        },
        json: true,
        resolveWithFullResponse: true
    };
        
    rp(options)
        .then(function (parsedBody) {
            console.log(parsedBody);
        })
        .catch(function (err) {
            console.log(err);
        });
    Can't post the response log yet but will do so during one of the failures.


    Edit:

    Catching the issue again at the end of the day. Explicit REST response Log below:
      request: Request {
        _events: [Object: null prototype] {
          error: [Function: bound ],
          complete: [Function: bound ],
          pipe: [Function],
          data: [Function],
          end: [Function]
        },
        _eventsCount: 5,
        _maxListeners: undefined,
        method: 'POST',
        uri: Url {
          protocol: 'https:',
          slashes: true,
          auth: null,
          host: 'outlook.office.com',
          port: 443,
          hostname: 'outlook.office.com',
          hash: null,
          search: null,
          query: null,
          pathname: 'WebHookUrl-REDACTED"',
          path: 'WebHookUrl-REDACTED"',
          href: 'WebHookUrl-REDACTED"'
        },
        body: '{"text":"Production Environment:   ⚕️CARETEAM👩‍⚕️    =>💚GREEN💚"}',
        resolveWithFullResponse: true,
        readable: true,
        writable: true,
        explicitMethod: true,
        _qs: Querystring {
          request: [Circular],
          lib: [Object],
          useQuerystring: undefined,
          parseOptions: {},
          stringifyOptions: {}
        },
        _auth: Auth {
          request: [Circular],
          hasAuth: false,
          sentAuth: false,
          bearerToken: null,
          user: null,
          pass: null
        },
        _oauth: OAuth { request: [Circular], params: null },
        _multipart: Multipart {
          request: [Circular],
          boundary: '719b41ad-e7bc-459b-80a3-aa47e041d199',
          chunked: false,
          body: null
        },
        _redirect: Redirect {
          request: [Circular],
          followRedirect: true,
          followRedirects: true,
          followAllRedirects: false,
          followOriginalHttpMethod: false,
          allowRedirect: [Function],
          maxRedirects: 10,
          redirects: [],
          redirectsFollowed: 0,
          removeRefererHeader: false
        },
        _tunnel: Tunnel {
          request: [Circular],
          proxyHeaderWhiteList: [Array],
          proxyHeaderExclusiveList: []
        },
        _rp_resolve: [Function],
        _rp_reject: [Function],
        _rp_promise: Promise [Object] {
          _bitField: 33554433,
          _fulfillmentHandler0: [Function],
          _rejectionHandler0: [Circular],
          _promise0: undefined,
          _receiver0: undefined,
          _onCancelField: [Function],
          _branchesRemainingToCancel: 1
        },
        _rp_callbackOrig: undefined,
        callback: [Function],
        _rp_options: {
          method: 'POST',
          uri: 'WebHookUrl-REDACTED"',
          body: [Object],
          json: true,
          resolveWithFullResponse: true,
          callback: [Function: RP$callback],
          transform: undefined,
          simple: true,
          transform2xxOnly: false
        },
        headers: {
          accept: 'application/json',
          'content-type': 'application/json',
          'content-length': 83
        },
        setHeader: [Function],
        hasHeader: [Function],
        getHeader: [Function],
        removeHeader: [Function],
        localAddress: undefined,
        pool: {},
        dests: [],
        __isRequestRequest: true,
        _callback: [Function: RP$callback],
        proxy: null,
        tunnel: true,
        setHost: true,
        originalCookieHeader: undefined,
        _disableCookies: true,
        _jar: undefined,
        port: 443,
        host: 'outlook.office.com',
        path: 'WebHookUrl-REDACTED"',
        _json: true,
        httpModule: {
          Agent: [Function: Agent],
          globalAgent: [Agent],
          Server: [Function: Server],
          createServer: [Function: createServer],
          get: [Function: get],
          request: [Function: request]
        },
        agentClass: [Function: Agent],
        agent: Agent {
          _events: [Object: null prototype],
          _eventsCount: 1,
          _maxListeners: undefined,
          defaultPort: 443,
          protocol: 'https:',
          options: [Object],
          requests: {},
          sockets: [Object],
          freeSockets: {},
          keepAliveMsecs: 1000,
          keepAlive: false,
          maxSockets: Infinity,
          maxFreeSockets: 256,
          maxCachedSessions: 100,
          _sessionCache: [Object]
        },
        _started: true,
        href: 'WebHookUrl-REDACTED"',
        req: ClientRequest {
          _events: [Object: null prototype],
          _eventsCount: 5,
          _maxListeners: undefined,
          outputData: [],
          outputSize: 0,
          writable: true,
          _last: true,
          chunkedEncoding: false,
          shouldKeepAlive: false,
          useChunkedEncodingByDefault: true,
          sendDate: false,
          _removedConnection: false,
          _removedContLen: false,
          _removedTE: false,
          _contentLength: null,
          _hasBody: true,
          _trailer: '',
          finished: true,
          _headerSent: true,
          socket: [TLSSocket],
          connection: [TLSSocket],
          _header: 'POST WebHookUrl-REDACTED" HTTP/1.1\r\n' +
            'host: outlook.office.com\r\n' +
            'accept: application/json\r\n' +
            'content-type: application/json\r\n' +
            'content-length: 83\r\n' +
            'Connection: close\r\n' +
            '\r\n',
          _onPendingData: [Function: noopPendingOutput],
          agent: [Agent],
          socketPath: undefined,
          method: 'POST',
          path: 'WebHookUrl-REDACTED"',
          _ended: true,
          res: [Circular],
          aborted: false,
          timeoutCb: null,
          upgradeOrConnect: false,
          parser: null,
          maxHeadersCount: null,
          [Symbol(kNeedDrain)]: false,
          [Symbol(isCorked)]: false,
          [Symbol(kOutHeaders)]: [Object: null prototype]
        },
        ntick: true,
        response: [Circular],
        originalHost: 'outlook.office.com',
        originalHostHeaderName: 'host',
        responseContent: [Circular],
        _destdata: true,
        _ended: true,
        _callbackCalled: true
      },
      toJSON: [Function: responseToJSON],
      caseless: Caseless {
        dict: {
          'cache-control': 'no-cache',
          pragma: 'no-cache',
          'content-length': '158',
          'content-type': 'text/plain; charset=utf-8',
          expires: '-1',
          'request-id': '12411346-7779-4686-a830-d1ed2f63c034',
          'x-calculatedbetarget': 'DM6PR01MB5626.PROD.EXCHANGELABS.COM',
          'x-backendhttpstatus': '200',
          'x-aspnet-version': '4.0.30319',
          'x-cafeserver': 'DM5PR19CA0005.NAMPRD19.PROD.OUTLOOK.COM',
          'x-beserver': 'DM6PR01MB5626',
          'x-proxy-backendserverstatus': '200',
          'x-powered-by': 'ASP.NET',
          'x-feserver': 'DM5PR19CA0005',
          'x-msedge-ref': 'Ref A: 7750D8B6C8C04C13BA4FD248F4989EC3 Ref B: CH1EDGE0915 Ref C: 2019-10-09T20:07:50Z',
          date: 'Wed, 09 Oct 2019 20:07:50 GMT',
          connection: 'close'
        }
      },
      body: 'System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.'
    }
    IncomingMessage {
      _readableState: ReadableState {
        objectMode: false,
        highWaterMark: 16384,
        buffer: BufferList { head: null, tail: null, length: 0 },
        length: 0,
        pipes: null,
        pipesCount: 0,
        flowing: true,
        ended: true,
        endEmitted: true,
        reading: false,
        sync: true,
        needReadable: false,
        emittedReadable: false,
        readableListening: false,
        resumeScheduled: false,
        paused: false,
        emitClose: true,
        autoDestroy: false,
        destroyed: false,
        defaultEncoding: 'utf8',
        awaitDrain: 0,
        readingMore: true,
        decoder: null,
        encoding: null
      },
      readable: false,
      _events: [Object: null prototype] {
        end: [ [Function: responseOnEnd], [Function] ],
        close: [ [Function], [Function] ],
        data: [Function],
        error: [Function]
      },
      _eventsCount: 4,
      _maxListeners: undefined,
      socket: TLSSocket {
        _tlsOptions: {
          allowHalfOpen: undefined,
          pipe: false,
          secureContext: [SecureContext],
          isServer: false,
          requestCert: true,
          rejectUnauthorized: true,
          session: undefined,
          ALPNProtocols: undefined,
          requestOCSP: undefined,
          enableTrace: undefined
        },
        _secureEstablished: true,
        _securePending: false,
        _newSessionPending: false,
        _controlReleased: true,
        _SNICallback: null,
        servername: 'outlook.office.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object: null prototype] {
          close: [Array],
          end: [Function: onReadableStreamEnd],
          newListener: [Function: keylogNewListener],
          secure: [Function: onConnectSecure],
          session: [Function],
          free: [Function: onFree],
          agentRemove: [Function: onRemove],
          error: [Function: socketErrorListener],
          finish: [Function]
        },
        _eventsCount: 9,
        connecting: false,
        _hadError: false,
        _parent: null,
        _host: 'outlook.office.com',
        _readableState: ReadableState {
          objectMode: false,
          highWaterMark: 16384,
          buffer: BufferList { head: null, tail: null, length: 0 },
          length: 0,
          pipes: null,
          pipesCount: 0,
          flowing: true,
          ended: false,
          endEmitted: false,
          reading: true,
          sync: false,
          needReadable: true,
          emittedReadable: false,
          readableListening: false,
          resumeScheduled: false,
          paused: false,
          emitClose: false,
          autoDestroy: false,
          destroyed: false,
          defaultEncoding: 'utf8',
          awaitDrain: 0,
          readingMore: false,
          decoder: null,
          encoding: null
        },
        readable: true,
        _maxListeners: undefined,
        _writableState: WritableState {
          objectMode: false,
          highWaterMark: 16384,
          finalCalled: true,
          needDrain: false,
          ending: true,
          ended: true,
          finished: false,
          destroyed: false,
          decodeStrings: false,
          defaultEncoding: 'utf8',
          length: 0,
          writing: false,
          corked: 0,
          sync: false,
          bufferProcessing: false,
          onwrite: [Function: bound onwrite],
          writecb: null,
          writelen: 0,
          bufferedRequest: null,
          lastBufferedRequest: null,
          pendingcb: 1,
          prefinished: false,
          errorEmitted: false,
          emitClose: false,
          autoDestroy: false,
          bufferedRequestCount: 0,
          corkedRequestsFree: [Object]
        },
        writable: false,
        allowHalfOpen: false,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        _requestCert: true,
        _rejectUnauthorized: true,
        parser: null,
        _httpMessage: ClientRequest {
          _events: [Object: null prototype],
          _eventsCount: 5,
          _maxListeners: undefined,
          outputData: [],
          outputSize: 0,
          writable: true,
          _last: true,
          chunkedEncoding: false,
          shouldKeepAlive: false,
          useChunkedEncodingByDefault: true,
          sendDate: false,
          _removedConnection: false,
          _removedContLen: false,
          _removedTE: false,
          _contentLength: null,
          _hasBody: true,
          _trailer: '',
          finished: true,
          _headerSent: true,
          socket: [Circular],
          connection: [Circular],
          _header: 'POST WebHookUrl-REDACTED" HTTP/1.1\r\n' +
            'host: outlook.office.com\r\n' +
            'accept: application/json\r\n' +
            'content-type: application/json\r\n' +
            'content-length: 639\r\n' +
            'Connection: close\r\n' +
            '\r\n',
          _onPendingData: [Function: noopPendingOutput],
          agent: [Agent],
          socketPath: undefined,
          method: 'POST',
          path: 'WebHookUrl-REDACTED"',
          _ended: true,
          res: [Circular],
          aborted: false,
          timeoutCb: null,
          upgradeOrConnect: false,
          parser: null,
          maxHeadersCount: null,
          [Symbol(kNeedDrain)]: false,
          [Symbol(isCorked)]: false,
          [Symbol(kOutHeaders)]: [Object: null prototype]
        },
        [Symbol(res)]: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        [Symbol(asyncId)]: 139,
        [Symbol(kHandle)]: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: null,
        [Symbol(kBuffer)]: null,
        [Symbol(kBufferCb)]: null,
        [Symbol(kBufferGen)]: null,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [Symbol(connect-options)]: {
          rejectUnauthorized: true,
          ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
          checkServerIdentity: [Function: checkServerIdentity],
          minDHSize: 1024,
          _events: [Object: null prototype],
          _eventsCount: 3,
          _maxListeners: undefined,
          method: 'POST',
          uri: [Url],
          body: `{"text":"\PostString-REDACTED\"}`,
          resolveWithFullResponse: true,
          readable: true,
          writable: true,
          explicitMethod: true,
          _qs: [Querystring],
          _auth: [Auth],
          _oauth: [OAuth],
          _multipart: [Multipart],
          _redirect: [Redirect],
          _tunnel: [Tunnel],
          _rp_resolve: [Function],
          _rp_reject: [Function],
          _rp_promise: [Promise [Object]],
          _rp_callbackOrig: undefined,
          callback: [Function],
          _rp_options: [Object],
          headers: [Object],
          setHeader: [Function],
          hasHeader: [Function],
          getHeader: [Function],
          removeHeader: [Function],
          localAddress: undefined,
          pool: {},
          dests: [],
          __isRequestRequest: true,
          _callback: [Function: RP$callback],
          proxy: null,
          tunnel: true,
          setHost: true,
          originalCookieHeader: undefined,
          _disableCookies: true,
          _jar: undefined,
          port: 443,
          host: 'outlook.office.com',
          path: null,
          _json: true,
          httpModule: [Object],
          agentClass: [Function: Agent],
          agent: [Agent],
          _started: true,
          href: 'https://outlook.office.comWebHookUrl-REDACTED"',
          _defaultAgent: [Agent],
          servername: 'outlook.office.com',
          _agentKey: 'outlook.office.com:443::::::::::::::::::',
          encoding: null,
          singleUse: true
        }
      },
      connection: TLSSocket {
        _tlsOptions: {
          allowHalfOpen: undefined,
          pipe: false,
          secureContext: [SecureContext],
          isServer: false,
          requestCert: true,
          rejectUnauthorized: true,
          session: undefined,
          ALPNProtocols: undefined,
          requestOCSP: undefined,
          enableTrace: undefined
        },
        _secureEstablished: true,
        _securePending: false,
        _newSessionPending: false,
        _controlReleased: true,
        _SNICallback: null,
        servername: 'outlook.office.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object: null prototype] {
          close: [Array],
          end: [Function: onReadableStreamEnd],
          newListener: [Function: keylogNewListener],
          secure: [Function: onConnectSecure],
          session: [Function],
          free: [Function: onFree],
          agentRemove: [Function: onRemove],
          error: [Function: socketErrorListener],
          finish: [Function]
        },
        _eventsCount: 9,
        connecting: false,
        _hadError: false,
        _parent: null,
        _host: 'outlook.office.com',
        _readableState: ReadableState {
          objectMode: false,
          highWaterMark: 16384,
          buffer: BufferList { head: null, tail: null, length: 0 },
          length: 0,
          pipes: null,
          pipesCount: 0,
          flowing: true,
          ended: false,
          endEmitted: false,
          reading: true,
          sync: false,
          needReadable: true,
          emittedReadable: false,
          readableListening: false,
          resumeScheduled: false,
          paused: false,
          emitClose: false,
          autoDestroy: false,
          destroyed: false,
          defaultEncoding: 'utf8',
          awaitDrain: 0,
          readingMore: false,
          decoder: null,
          encoding: null
        },
        readable: true,
        _maxListeners: undefined,
        _writableState: WritableState {
          objectMode: false,
          highWaterMark: 16384,
          finalCalled: true,
          needDrain: false,
          ending: true,
          ended: true,
          finished: false,
          destroyed: false,
          decodeStrings: false,
          defaultEncoding: 'utf8',
          length: 0,
          writing: false,
          corked: 0,
          sync: false,
          bufferProcessing: false,
          onwrite: [Function: bound onwrite],
          writecb: null,
          writelen: 0,
          bufferedRequest: null,
          lastBufferedRequest: null,
          pendingcb: 1,
          prefinished: false,
          errorEmitted: false,
          emitClose: false,
          autoDestroy: false,
          bufferedRequestCount: 0,
          corkedRequestsFree: [Object]
        },
        writable: false,
        allowHalfOpen: false,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        _requestCert: true,
        _rejectUnauthorized: true,
        parser: null,
        _httpMessage: ClientRequest {
          _events: [Object: null prototype],
          _eventsCount: 5,
          _maxListeners: undefined,
          outputData: [],
          outputSize: 0,
          writable: true,
          _last: true,
          chunkedEncoding: false,
          shouldKeepAlive: false,
          useChunkedEncodingByDefault: true,
          sendDate: false,
          _removedConnection: false,
          _removedContLen: false,
          _removedTE: false,
          _contentLength: null,
          _hasBody: true,
          _trailer: '',
          finished: true,
          _headerSent: true,
          socket: [Circular],
          connection: [Circular],
          _header: 'POST WebHookUrl-REDACTED" HTTP/1.1\r\n' +
            'host: outlook.office.com\r\n' +
            'accept: application/json\r\n' +
            'content-type: application/json\r\n' +
            'content-length: 639\r\n' +
            'Connection: close\r\n' +
            '\r\n',
          _onPendingData: [Function: noopPendingOutput],
          agent: [Agent],
          socketPath: undefined,
          method: 'POST',
          path: 'WebHookUrl-REDACTED"',
          _ended: true,
          res: [Circular],
          aborted: false,
          timeoutCb: null,
          upgradeOrConnect: false,
          parser: null,
          maxHeadersCount: null,
          [Symbol(kNeedDrain)]: false,
          [Symbol(isCorked)]: false,
          [Symbol(kOutHeaders)]: [Object: null prototype]
        },
        [Symbol(res)]: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        [Symbol(asyncId)]: 139,
        [Symbol(kHandle)]: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: null,
        [Symbol(kBuffer)]: null,
        [Symbol(kBufferCb)]: null,
        [Symbol(kBufferGen)]: null,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [Symbol(connect-options)]: {
          rejectUnauthorized: true,
          ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
          checkServerIdentity: [Function: checkServerIdentity],
          minDHSize: 1024,
          _events: [Object: null prototype],
          _eventsCount: 3,
          _maxListeners: undefined,
          method: 'POST',
          uri: [Url],
          body: `{"text":"\PostString-REDACTED\"}`,
          resolveWithFullResponse: true,
          readable: true,
          writable: true,
          explicitMethod: true,
          _qs: [Querystring],
          _auth: [Auth],
          _oauth: [OAuth],
          _multipart: [Multipart],
          _redirect: [Redirect],
          _tunnel: [Tunnel],
          _rp_resolve: [Function],
          _rp_reject: [Function],
          _rp_promise: [Promise [Object]],
          _rp_callbackOrig: undefined,
          callback: [Function],
          _rp_options: [Object],
          headers: [Object],
          setHeader: [Function],
          hasHeader: [Function],
          getHeader: [Function],
          removeHeader: [Function],
          localAddress: undefined,
          pool: {},
          dests: [],
          __isRequestRequest: true,
          _callback: [Function: RP$callback],
          proxy: null,
          tunnel: true,
          setHost: true,
          originalCookieHeader: undefined,
          _disableCookies: true,
          _jar: undefined,
          port: 443,
          host: 'outlook.office.com',
          path: null,
          _json: true,
          httpModule: [Object],
          agentClass: [Function: Agent],
          agent: [Agent],
          _started: true,
          href: 'https://outlook.office.comWebHookUrl-REDACTED"',
          _defaultAgent: [Agent],
          servername: 'outlook.office.com',
          _agentKey: 'outlook.office.com:443::::::::::::::::::',
          encoding: null,
          singleUse: true
        }
      },
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: {
        'cache-control': 'no-cache',
        pragma: 'no-cache',
        'content-length': '158',
        'content-type': 'text/plain; charset=utf-8',
        expires: '-1',
        'request-id': '044c4a40-f15c-450d-9c37-86a4014f56d8',
        'x-calculatedbetarget': 'DM6PR01MB5626.prod.exchangelabs.com',
        'x-backendhttpstatus': '200',
        'x-aspnet-version': '4.0.30319',
        'x-cafeserver': 'DM5PR19CA0016.NAMPRD19.PROD.OUTLOOK.COM',
        'x-beserver': 'DM6PR01MB5626',
        'x-proxy-backendserverstatus': '200',
        'x-powered-by': 'ASP.NET',
        'x-feserver': 'DM5PR19CA0016',
        'x-msedge-ref': 'Ref A: 40F938AA3DBB4D178AB86DAA11402F5A Ref B: CH1EDGE0322 Ref C: 2019-10-09T20:07:50Z',
        date: 'Wed, 09 Oct 2019 20:07:50 GMT',
        connection: 'close'
      },
      rawHeaders: [
        'Cache-Control',
        'no-cache',
        'Pragma',
        'no-cache',
        'Content-Length',
        '158',
        'Content-Type',
        'text/plain; charset=utf-8',
        'Expires',
        '-1',
        'request-id',
        '044c4a40-f15c-450d-9c37-86a4014f56d8',
        'X-CalculatedBETarget',
        'DM6PR01MB5626.prod.exchangelabs.com',
        'X-BackEndHttpStatus',
        '200',
        'X-AspNet-Version',
        '4.0.30319',
        'X-CafeServer',
        'DM5PR19CA0016.NAMPRD19.PROD.OUTLOOK.COM',
        'X-BEServer',
        'DM6PR01MB5626',
        'X-Proxy-BackendServerStatus',
        '200',
        'X-Powered-By',
        'ASP.NET',
        'X-FEServer',
        'DM5PR19CA0016',
        'X-MSEdge-Ref',
        'Ref A: 40F938AA3DBB4D178AB86DAA11402F5A Ref B: CH1EDGE0322 Ref C: 2019-10-09T20:07:50Z',
        'Date',
        'Wed, 09 Oct 2019 20:07:50 GMT',
        'Connection',
        'close'
      ],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 200,
      statusMessage: 'OK',
      client: TLSSocket {
        _tlsOptions: {
          allowHalfOpen: undefined,
          pipe: false,
          secureContext: [SecureContext],
          isServer: false,
          requestCert: true,
          rejectUnauthorized: true,
          session: undefined,
          ALPNProtocols: undefined,
          requestOCSP: undefined,
          enableTrace: undefined
        },
        _secureEstablished: true,
        _securePending: false,
        _newSessionPending: false,
        _controlReleased: true,
        _SNICallback: null,
        servername: 'outlook.office.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object: null prototype] {
          close: [Array],
          end: [Function: onReadableStreamEnd],
          newListener: [Function: keylogNewListener],
          secure: [Function: onConnectSecure],
          session: [Function],
          free: [Function: onFree],
          agentRemove: [Function: onRemove],
          error: [Function: socketErrorListener],
          finish: [Function]
        },
        _eventsCount: 9,
        connecting: false,
        _hadError: false,
        _parent: null,
        _host: 'outlook.office.com',
        _readableState: ReadableState {
          objectMode: false,
          highWaterMark: 16384,
          buffer: BufferList { head: null, tail: null, length: 0 },
          length: 0,
          pipes: null,
          pipesCount: 0,
          flowing: true,
          ended: false,
          endEmitted: false,
          reading: true,
          sync: false,
          needReadable: true,
          emittedReadable: false,
          readableListening: false,
          resumeScheduled: false,
          paused: false,
          emitClose: false,
          autoDestroy: false,
          destroyed: false,
          defaultEncoding: 'utf8',
          awaitDrain: 0,
          readingMore: false,
          decoder: null,
          encoding: null
        },
        readable: true,
        _maxListeners: undefined,
        _writableState: WritableState {
          objectMode: false,
          highWaterMark: 16384,
          finalCalled: true,
          needDrain: false,
          ending: true,
          ended: true,
          finished: false,
          destroyed: false,
          decodeStrings: false,
          defaultEncoding: 'utf8',
          length: 0,
          writing: false,
          corked: 0,
          sync: false,
          bufferProcessing: false,
          onwrite: [Function: bound onwrite],
          writecb: null,
          writelen: 0,
          bufferedRequest: null,
          lastBufferedRequest: null,
          pendingcb: 1,
          prefinished: false,
          errorEmitted: false,
          emitClose: false,
          autoDestroy: false,
          bufferedRequestCount: 0,
          corkedRequestsFree: [Object]
        },
        writable: false,
        allowHalfOpen: false,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        _requestCert: true,
        _rejectUnauthorized: true,
        parser: null,
        _httpMessage: ClientRequest {
          _events: [Object: null prototype],
          _eventsCount: 5,
          _maxListeners: undefined,
          outputData: [],
          outputSize: 0,
          writable: true,
          _last: true,
          chunkedEncoding: false,
          shouldKeepAlive: false,
          useChunkedEncodingByDefault: true,
          sendDate: false,
          _removedConnection: false,
          _removedContLen: false,
          _removedTE: false,
          _contentLength: null,
          _hasBody: true,
          _trailer: '',
          finished: true,
          _headerSent: true,
          socket: [Circular],
          connection: [Circular],
          _header: 'POST WebHookUrl-REDACTED" HTTP/1.1\r\n' +
            'host: outlook.office.com\r\n' +
            'accept: application/json\r\n' +
            'content-type: application/json\r\n' +
            'content-length: 639\r\n' +
            'Connection: close\r\n' +
            '\r\n',
          _onPendingData: [Function: noopPendingOutput],
          agent: [Agent],
          socketPath: undefined,
          method: 'POST',
          path: 'WebHookUrl-REDACTED"',
          _ended: true,
          res: [Circular],
          aborted: false,
          timeoutCb: null,
          upgradeOrConnect: false,
          parser: null,
          maxHeadersCount: null,
          [Symbol(kNeedDrain)]: false,
          [Symbol(isCorked)]: false,
          [Symbol(kOutHeaders)]: [Object: null prototype]
        },
        [Symbol(res)]: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        [Symbol(asyncId)]: 139,
        [Symbol(kHandle)]: TLSWrap {
          _parent: [TCP],
          _parentWrap: undefined,
          _secureContext: [SecureContext],
          reading: true,
          onhandshakestart: [Function: noop],
          onhandshakedone: [Function],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onkeylog: [Function: onkeylogclient],
          onerror: [Function: onerror],
          [Symbol(owner)]: [Circular]
        },
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: null,
        [Symbol(kBuffer)]: null,
        [Symbol(kBufferCb)]: null,
        [Symbol(kBufferGen)]: null,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [Symbol(connect-options)]: {
          rejectUnauthorized: true,
          ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
          checkServerIdentity: [Function: checkServerIdentity],
          minDHSize: 1024,
          _events: [Object: null prototype],
          _eventsCount: 3,
          _maxListeners: undefined,
          method: 'POST',
          uri: [Url],
          body: `{"text":"\PostString-REDACTED\"}`,
          resolveWithFullResponse: true,
          readable: true,
          writable: true,
          explicitMethod: true,
          _qs: [Querystring],
          _auth: [Auth],
          _oauth: [OAuth],
          _multipart: [Multipart],
          _redirect: [Redirect],
          _tunnel: [Tunnel],
          _rp_resolve: [Function],
          _rp_reject: [Function],
          _rp_promise: [Promise [Object]],
          _rp_callbackOrig: undefined,
          callback: [Function],
          _rp_options: [Object],
          headers: [Object],
          setHeader: [Function],
          hasHeader: [Function],
          getHeader: [Function],
          removeHeader: [Function],
          localAddress: undefined,
          pool: {},
          dests: [],
          __isRequestRequest: true,
          _callback: [Function: RP$callback],
          proxy: null,
          tunnel: true,
          setHost: true,
          originalCookieHeader: undefined,
          _disableCookies: true,
          _jar: undefined,
          port: 443,
          host: 'outlook.office.com',
          path: null,
          _json: true,
          httpModule: [Object],
          agentClass: [Function: Agent],
          agent: [Agent],
          _started: true,
          href: 'https://outlook.office.comWebHookUrl-REDACTED"',
          _defaultAgent: [Agent],
          servername: 'outlook.office.com',
          _agentKey: 'outlook.office.com:443::::::::::::::::::',
          encoding: null,
          singleUse: true
        }
      },
      _consuming: false,
      _dumped: false,
      req: ClientRequest {
        _events: [Object: null prototype] {
          socket: [Function],
          response: [Function: bound ],
          error: [Function: bound ],
          drain: [Function],
          prefinish: [Function: requestOnPrefinish]
        },
        _eventsCount: 5,
        _maxListeners: undefined,
        outputData: [],
        outputSize: 0,
        writable: true,
        _last: true,
        chunkedEncoding: false,
        shouldKeepAlive: false,
        useChunkedEncodingByDefault: true,
        sendDate: false,
        _removedConnection: false,
        _removedContLen: false,
        _removedTE: false,
        _contentLength: null,
        _hasBody: true,
        _trailer: '',
        finished: true,
        _headerSent: true,
        socket: TLSSocket {
          _tlsOptions: [Object],
          _secureEstablished: true,
          _securePending: false,
          _newSessionPending: false,
          _controlReleased: true,
          _SNICallback: null,
          servername: 'outlook.office.com',
          alpnProtocol: false,
          authorized: true,
          authorizationError: null,
          encrypted: true,
          _events: [Object: null prototype],
          _eventsCount: 9,
          connecting: false,
          _hadError: false,
          _parent: null,
          _host: 'outlook.office.com',
          _readableState: [ReadableState],
          readable: true,
          _maxListeners: undefined,
          _writableState: [WritableState],
          writable: false,
          allowHalfOpen: false,
          _sockname: null,
          _pendingData: null,
          _pendingEncoding: '',
          server: undefined,
          _server: null,
          ssl: [TLSWrap],
          _requestCert: true,
          _rejectUnauthorized: true,
          parser: null,
          _httpMessage: [Circular],
          [Symbol(res)]: [TLSWrap],
          [Symbol(asyncId)]: 139,
          [Symbol(kHandle)]: [TLSWrap],
          [Symbol(lastWriteQueueSize)]: 0,
          [Symbol(timeout)]: null,
          [Symbol(kBuffer)]: null,
          [Symbol(kBufferCb)]: null,
          [Symbol(kBufferGen)]: null,
          [Symbol(kBytesRead)]: 0,
          [Symbol(kBytesWritten)]: 0,
          [Symbol(connect-options)]: [Object]
        },
        connection: TLSSocket {
          _tlsOptions: [Object],
          _secureEstablished: true,
          _securePending: false,
          _newSessionPending: false,
          _controlReleased: true,
          _SNICallback: null,
          servername: 'outlook.office.com',
          alpnProtocol: false,
          authorized: true,
          authorizationError: null,
          encrypted: true,
          _events: [Object: null prototype],
          _eventsCount: 9,
          connecting: false,
          _hadError: false,
          _parent: null,
          _host: 'outlook.office.com',
          _readableState: [ReadableState],
          readable: true,
          _maxListeners: undefined,
          _writableState: [WritableState],
          writable: false,
          allowHalfOpen: false,
          _sockname: null,
          _pendingData: null,
          _pendingEncoding: '',
          server: undefined,
          _server: null,
          ssl: [TLSWrap],
          _requestCert: true,
          _rejectUnauthorized: true,
          parser: null,
          _httpMessage: [Circular],
          [Symbol(res)]: [TLSWrap],
          [Symbol(asyncId)]: 139,
          [Symbol(kHandle)]: [TLSWrap],
          [Symbol(lastWriteQueueSize)]: 0,
          [Symbol(timeout)]: null,
          [Symbol(kBuffer)]: null,
          [Symbol(kBufferCb)]: null,
          [Symbol(kBufferGen)]: null,
          [Symbol(kBytesRead)]: 0,
          [Symbol(kBytesWritten)]: 0,
          [Symbol(connect-options)]: [Object]
        },
        _header: 'POST WebHookUrl-REDACTED" HTTP/1.1\r\n' +
          'host: outlook.office.com\r\n' +
          'accept: application/json\r\n' +
          'content-type: application/json\r\n' +
          'content-length: 639\r\n' +
          'Connection: close\r\n' +
          '\r\n',
        _onPendingData: [Function: noopPendingOutput],
        agent: Agent {
          _events: [Object: null prototype],
          _eventsCount: 1,
          _maxListeners: undefined,
          defaultPort: 443,
          protocol: 'https:',
          options: [Object],
          requests: {},
          sockets: [Object],
          freeSockets: {},
          keepAliveMsecs: 1000,
          keepAlive: false,
          maxSockets: Infinity,
          maxFreeSockets: 256,
          maxCachedSessions: 100,
          _sessionCache: [Object]
        },
        socketPath: undefined,
        method: 'POST',
        path: 'WebHookUrl-REDACTED"',
        _ended: true,
        res: [Circular],
        aborted: false,
        timeoutCb: null,
        upgradeOrConnect: false,
        parser: null,
        maxHeadersCount: null,
        [Symbol(kNeedDrain)]: false,
        [Symbol(isCorked)]: false,
        [Symbol(kOutHeaders)]: [Object: null prototype] {
          host: [Array],
          accept: [Array],
          'content-type': [Array],
          'content-length': [Array]
        }
      },
      request: Request {
        _events: [Object: null prototype] {
          error: [Function: bound ],
          complete: [Function: bound ],
          pipe: [Function],
          data: [Function],
          end: [Function]
        },
        _eventsCount: 5,
        _maxListeners: undefined,
        method: 'POST',
        uri: Url {
          protocol: 'https:',
          slashes: true,
          auth: null,
          host: 'outlook.office.com',
          port: 443,
          hostname: 'outlook.office.com',
          hash: null,
          search: null,
          query: null,
          pathname: 'WebHookUrl-REDACTED"',
          path: 'WebHookUrl-REDACTED"',
          href: 'https://outlook.office.comWebHookUrl-REDACTED"'
        },
        body: `{"text":"\PostString-REDACTED\"}`,
        resolveWithFullResponse: true,
        readable: true,
        writable: true,
        explicitMethod: true,
        _qs: Querystring {
          request: [Circular],
          lib: [Object],
          useQuerystring: undefined,
          parseOptions: {},
          stringifyOptions: {}
        },
        _auth: Auth {
          request: [Circular],
          hasAuth: false,
          sentAuth: false,
          bearerToken: null,
          user: null,
          pass: null
        },
        _oauth: OAuth { request: [Circular], params: null },
        _multipart: Multipart {
          request: [Circular],
          boundary: '17a639b5-0372-4e70-ab9a-a8b8ad88289a',
          chunked: false,
          body: null
        },
        _redirect: Redirect {
          request: [Circular],
          followRedirect: true,
          followRedirects: true,
          followAllRedirects: false,
          followOriginalHttpMethod: false,
          allowRedirect: [Function],
          maxRedirects: 10,
          redirects: [],
          redirectsFollowed: 0,
          removeRefererHeader: false
        },
        _tunnel: Tunnel {
          request: [Circular],
          proxyHeaderWhiteList: [Array],
          proxyHeaderExclusiveList: []
        },
        _rp_resolve: [Function],
        _rp_reject: [Function],
        _rp_promise: Promise [Object] {
          _bitField: 33554433,
          _fulfillmentHandler0: [Function],
          _rejectionHandler0: [Circular],
          _promise0: undefined,
          _receiver0: undefined,
          _onCancelField: [Function],
          _branchesRemainingToCancel: 1
        },
        _rp_callbackOrig: undefined,
        callback: [Function],
        _rp_options: {
          method: 'POST',
          uri: 'https://outlook.office.comWebHookUrl-REDACTED"',
          body: [Object],
          json: true,
          resolveWithFullResponse: true,
          callback: [Function: RP$callback],
          transform: undefined,
          simple: true,
          transform2xxOnly: false
        },
        headers: {
          accept: 'application/json',
          'content-type': 'application/json',
          'content-length': 639
        },
        setHeader: [Function],
        hasHeader: [Function],
        getHeader: [Function],
        removeHeader: [Function],
        localAddress: undefined,
        pool: {},
        dests: [],
        __isRequestRequest: true,
        _callback: [Function: RP$callback],
        proxy: null,
        tunnel: true,
        setHost: true,
        originalCookieHeader: undefined,
        _disableCookies: true,
        _jar: undefined,
        port: 443,
        host: 'outlook.office.com',
        path: 'WebHookUrl-REDACTED"',
        _json: true,
        httpModule: {
          Agent: [Function: Agent],
          globalAgent: [Agent],
          Server: [Function: Server],
          createServer: [Function: createServer],
          get: [Function: get],
          request: [Function: request]
        },
        agentClass: [Function: Agent],
        agent: Agent {
          _events: [Object: null prototype],
          _eventsCount: 1,
          _maxListeners: undefined,
          defaultPort: 443,
          protocol: 'https:',
          options: [Object],
          requests: {},
          sockets: [Object],
          freeSockets: {},
          keepAliveMsecs: 1000,
          keepAlive: false,
          maxSockets: Infinity,
          maxFreeSockets: 256,
          maxCachedSessions: 100,
          _sessionCache: [Object]
        },
        _started: true,
        href: 'https://outlook.office.comWebHookUrl-REDACTED"',
        req: ClientRequest {
          _events: [Object: null prototype],
          _eventsCount: 5,
          _maxListeners: undefined,
          outputData: [],
          outputSize: 0,
          writable: true,
          _last: true,
          chunkedEncoding: false,
          shouldKeepAlive: false,
          useChunkedEncodingByDefault: true,
          sendDate: false,
          _removedConnection: false,
          _removedContLen: false,
          _removedTE: false,
          _contentLength: null,
          _hasBody: true,
          _trailer: '',
          finished: true,
          _headerSent: true,
          socket: [TLSSocket],
          connection: [TLSSocket],
          _header: 'POST WebHookUrl-REDACTED" HTTP/1.1\r\n' +
            'host: outlook.office.com\r\n' +
            'accept: application/json\r\n' +
            'content-type: application/json\r\n' +
            'content-length: 639\r\n' +
            'Connection: close\r\n' +
            '\r\n',
          _onPendingData: [Function: noopPendingOutput],
          agent: [Agent],
          socketPath: undefined,
          method: 'POST',
          path: 'WebHookUrl-REDACTED"',
          _ended: true,
          res: [Circular],
          aborted: false,
          timeoutCb: null,
          upgradeOrConnect: false,
          parser: null,
          maxHeadersCount: null,
          [Symbol(kNeedDrain)]: false,
          [Symbol(isCorked)]: false,
          [Symbol(kOutHeaders)]: [Object: null prototype]
        },
        ntick: true,
        response: [Circular],
        originalHost: 'outlook.office.com',
        originalHostHeaderName: 'host',
        responseContent: [Circular],
        _destdata: true,
        _ended: true,
        _callbackCalled: true
      },
      toJSON: [Function: responseToJSON],
      caseless: Caseless {
        dict: {
          'cache-control': 'no-cache',
          pragma: 'no-cache',
          'content-length': '158',
          'content-type': 'text/plain; charset=utf-8',
          expires: '-1',
          'request-id': '044c4a40-f15c-450d-9c37-86a4014f56d8',
          'x-calculatedbetarget': 'DM6PR01MB5626.prod.exchangelabs.com',
          'x-backendhttpstatus': '200',
          'x-aspnet-version': '4.0.30319',
          'x-cafeserver': 'DM5PR19CA0016.NAMPRD19.PROD.OUTLOOK.COM',
          'x-beserver': 'DM6PR01MB5626',
          'x-proxy-backendserverstatus': '200',
          'x-powered-by': 'ASP.NET',
          'x-feserver': 'DM5PR19CA0016',
          'x-msedge-ref': 'Ref A: 40F938AA3DBB4D178AB86DAA11402F5A Ref B: CH1EDGE0322 Ref C: 2019-10-09T20:07:50Z',
          date: 'Wed, 09 Oct 2019 20:07:50 GMT',
          connection: 'close'
        }
      },
      body: 'System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.'
    }
    



    • Edited by Andrew T. Aldridge Wednesday, October 9, 2019 8:20 PM Adding Log of REST Respone
    Wednesday, October 9, 2019 2:42 PM