You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is truly an error, but if a single cartodbClient instance is reused among multiple simultaneous requests, the following error occurs:
_http_outgoing.js:335
throw new Error('Can't set headers after they are sent.');
^
so I can't do this:
var cartodbClient = new CartoDB({user: config.cartodb.USER, api_key: config.cartodb.API_KEY});
app.route('/myroute')
.post(function(req, res) {
cartodbClient.on('connect',function()....
but creating a new instance in the post handler works fine-
The text was updated successfully, but these errors were encountered:
I don't know if this is truly an error, but if a single cartodbClient instance is reused among multiple simultaneous requests, the following error occurs:
_http_outgoing.js:335
throw new Error('Can't set headers after they are sent.');
^
so I can't do this:
but creating a new instance in the post handler works fine-
The text was updated successfully, but these errors were encountered: