{"record":{"id":"46947126484c4b68","repo":"balderdashy/sails","slug":"e-jsonp-unsupported","errorCode":"E_JSONP_UNSUPPORTED","errorMessage":"JSONP support was removed from the blueprints API in Sails 1.0 (detected sails.config.blueprints.jsonp === '  + sails.config.blueprints.jsonp + ')","messagePattern":"JSONP support was removed from the blueprints API in Sails 1\\.0 \\(detected sails\\.config\\.blueprints\\.jsonp === '  \\+ sails\\.config\\.blueprints\\.jsonp \\+ '\\)","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/hooks/blueprints/index.js","lineNumber":107,"sourceCode":"\n        // Whether to run `Model.watch()` in the `find` blueprint action.\n        autoWatch: true,\n\n        // Private per-controller config.\n        _controllers: {},\n\n        parseBlueprintOptions: function(req) {\n          return req._sails.hooks.blueprints.parseBlueprintOptions(req);\n        }\n\n      }\n\n    },\n\n    configure: function() {\n\n      if (sails.config.blueprints.jsonp) {\n        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 + ')'));\n      }\n\n      if (!_.isUndefined(sails.config.blueprints.defaultLimit)) {\n        sails.log.debug('The `sails.config.blueprints.defaultLimit` option is no longer supported in Sails 1.0.');\n        sails.log.debug('Instead, you can use a `parseBlueprintOptions` function to fully customize blueprint behavior.');\n        sails.log.debug('See http://sailsjs.com/docs/reference/configuration/sails-config-blueprints#?using-parseblueprintoptions.');\n        sails.log.debug('(Setting the default limit to 30 in the meantime.)');\n        sails.log.debug();\n      }\n\n      if (!_.isUndefined(sails.config.blueprints.populate)) {\n        sails.log.debug('The `sails.config.blueprints.populate` option is no longer supported in Sails 1.0.');\n        sails.log.debug('Instead, you can use a `parseBlueprintOptions` function to fully customize blueprint behavior.');\n        sails.log.debug('See http://sailsjs.com/docs/reference/configuration/sails-config-blueprints#?using-parseblueprintoptions.');\n        sails.log.debug('(Will populate all associations in blueprints in the meantime.)');\n        sails.log.debug();\n      }\n","sourceCodeStart":89,"sourceCodeEnd":125,"githubUrl":"https://github.com/balderdashy/sails/blob/7b76422cc27823df033572bdda5c4910a68b697f/lib/hooks/blueprints/index.js#L89-L125","documentation":"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.","triggerScenarios":"Thrown at lib/hooks/blueprints/index.js:107 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7b76422cc27823df033572bdda5c4910a68b697f","analyzedAt":"2026-09-01T04:01:57.104Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}