Skip to content

Http Headers related error with code pulled. #2362

Closed
@madkid66

Description

@madkid66

We pulled parse-server code from master yesterday and while using that code, we notice the following stack trace in log for all the cloud calls being made. Anyone else seeing this? Also, any suggestions, tips for resolving this are appreciated. Thank you.

Error: Can't set headers after they are sent.
    at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:344:11)
    at /var/app/current/node_modules/express/lib/application.js:153:9
    at /var/app/current/node_modules/express/lib/router/index.js:137:5
    at /var/app/current/node_modules/express/lib/router/index.js:250:10
    at next (/var/app/current/node_modules/express/lib/router/index.js:160:14)
    at next (/var/app/current/node_modules/express/lib/router/index.js:176:38)
    at Immediate.<anonymous> (/var/app/current/node_modules/express/lib/application.js:190:9)
    at Immediate.<anonymous> (/var/app/current/node_modules/parse-server/node_modules/express/lib/router/index.js:618:15)
    at Immediate.immediate._onImmediate (timers.js:435:18)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions