balderdashy/sails · error
E_JSONP_UNSUPPORTED
E_JSONP_UNSUPPORTED
Error message
JSONP support was removed from the blueprints API in Sails 1.0 (detected sails.config.blueprints.jsonp === ' + sails.config.blueprints.jsonp + ')
What it means
Error "JSONP support was removed from the blueprints API in Sails 1.0 (detected sails.config.blueprints.jsonp === ' + sails.config.blueprints.jsonp + ')" thrown in balderdashy/sails.
Source
Thrown at lib/hooks/blueprints/index.js:107
// Whether to run `Model.watch()` in the `find` blueprint action.
autoWatch: true,
// Private per-controller config.
_controllers: {},
parseBlueprintOptions: function(req) {
return req._sails.hooks.blueprints.parseBlueprintOptions(req);
}
}
},
configure: function() {
if (sails.config.blueprints.jsonp) {
throw flaverr({ name: 'userError', code: 'E_JSONP_UNSUPPORTED' }, new Error('JSONP support was removed from the blueprints API in Sails 1.0 (detected sails.config.blueprints.jsonp === ' + sails.config.blueprints.jsonp + ')'));
}
if (!_.isUndefined(sails.config.blueprints.defaultLimit)) {
sails.log.debug('The `sails.config.blueprints.defaultLimit` option is no longer supported in Sails 1.0.');
sails.log.debug('Instead, you can use a `parseBlueprintOptions` function to fully customize blueprint behavior.');
sails.log.debug('See http://sailsjs.com/docs/reference/configuration/sails-config-blueprints#?using-parseblueprintoptions.');
sails.log.debug('(Setting the default limit to 30 in the meantime.)');
sails.log.debug();
}
if (!_.isUndefined(sails.config.blueprints.populate)) {
sails.log.debug('The `sails.config.blueprints.populate` option is no longer supported in Sails 1.0.');
sails.log.debug('Instead, you can use a `parseBlueprintOptions` function to fully customize blueprint behavior.');
sails.log.debug('See http://sailsjs.com/docs/reference/configuration/sails-config-blueprints#?using-parseblueprintoptions.');
sails.log.debug('(Will populate all associations in blueprints in the meantime.)');
sails.log.debug();
}
View on GitHub (pinned to 7b76422cc2)
When it happens
Trigger: Thrown at lib/hooks/blueprints/index.js:107 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of balderdashy/sails@7b76422cc2 (2026-09-01).
Data as JSON: /api/errors/46947126484c4b68.
Report an issue: GitHub.