Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unhandled Type Error #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix unhandled Type Error #11

wants to merge 4 commits into from

Conversation

dseeker
Copy link

@dseeker dseeker commented Apr 9, 2020

Cannot read property 'statusCode' of undefined

TypeError: Cannot read property 'statusCode' of undefined at Request._callback (/app/node_modules/zcrmsdk/lib/js/util.js:129:21) 
at self.callback (/app/node_modules/request/request.js:185:22) 
at Request.emit (events.js:198:13) 
at Request.EventEmitter.emit (domain.js:448:20) 
at Request.onRequestError (/app/node_modules/request/request.js:877:8) 
at ClientRequest.emit (events.js:198:13) 
at ClientRequest.EventEmitter.emit (domain.js:448:20) 
at TLSSocket.socketOnEnd (_http_client.js:435:9) 
at TLSSocket.emit (events.js:203:15) 
at TLSSocket.EventEmitter.emit (domain.js:448:20)

TypeError: Cannot read property 'statusCode' of undefined 
at Request._callback (/app/node_modules/zcrmsdk/lib/js/util.js:129:21) 
at self.callback (/app/node_modules/request/request.js:185:22) 
at Request.emit (events.js:198:13) 
at Request.EventEmitter.emit (domain.js:448:20) 
at Request.onRequestError (/app/node_modules/request/request.js:877:8) 
at ClientRequest.emit (events.js:198:13) 
at ClientRequest.EventEmitter.emit (domain.js:448:20) 
at TLSSocket.socketOnEnd (_http_client.js:435:9) 
at TLSSocket.emit (events.js:203:15) 
at TLSSocket.EventEmitter.emit (domain.js:448:20)
throw new error does not show any errors in async chain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant