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

Cannot read property 'Content-Length' of undefined #53

Closed
gautamk opened this issue Oct 29, 2012 · 2 comments
Closed

Cannot read property 'Content-Length' of undefined #53

gautamk opened this issue Oct 29, 2012 · 2 comments

Comments

@gautamk
Copy link

gautamk commented Oct 29, 2012

TypeError: Cannot read property 'Content-Length' of undefined
at unsecuredCall (/Projects/iodocs/app.js:519:29)
at processRequest (
/Projects/iodocs/app.js:462:9)
at callbacks (/Projects/iodocs/node_modules/express/lib/router/index.js:272:11)
at oauth (
/Projects/iodocs/app.js:185:9)
at callbacks (/Projects/iodocs/node_modules/express/lib/router/index.js:272:11)
at param (
/Projects/iodocs/node_modules/express/lib/router/index.js:246:11)
at pass (/Projects/iodocs/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (
/Projects/iodocs/node_modules/express/lib/router/index.js:280:5)
at Object.middleware as handle
at next (~/Projects/iodocs/node_modules/express/node_modules/connect/lib/http.js:204:15)
127.0.0.1 - - [Mon, 29 Oct 2012 13:03:59 GMT] "POST /processReq HTTP/1.1" 500 - "http://localhost:3000/osstudio" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"

@smgilson
Copy link

I got this same error after installing iodocs from /~https://github.com/mashery/iodocs, and then running the example. I didn't change a thing, just ran it out of the box.

Stephen

gautamk pushed a commit to gautamk/iodocs that referenced this issue Oct 30, 2012
mansilladev added a commit that referenced this issue Oct 30, 2012
A small hack to fix issue number #53
@mansilladev
Copy link
Contributor

Merged. Thanks!

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

No branches or pull requests

3 participants