Bem-vindo à comunidade COMUNIDADE EFEITO ORNA

É uma satisfação ter você por aqui! São pessoas engajadas como você as responsáveis pela construção de comunidades de sucesso.

  • Escreva sua primeira publicação

    A troca de conhecimento é a base de uma comunidade bem sucedida. Torne seu perfil relevante escrevendo seu primeiro texto e veja como é fácil gerar conteúdo no Duopana.

  • Comece a seguir hoje mesmo e saiba antes de todo mundo quando ele fizer sua primeira publicação!

{"captured":true,"status":400,"response":{"error_code":"SCHEMA_VALIDATION_ERROR","error_message":"data.user_id should NOT be shorter than 24 characters, data.user_id should match pattern \"^[0-9a-fA-F]{24}$\", data.user_id should NOT be shorter than 12 characters, data.user_id should be number, data.user_id should match some schema in anyOf","error_details":[{"keyword":"minLength","dataPath":".user_id","schemaPath":"#/definitions/objectIdHexString/minLength","params":{"limit":24},"message":"should NOT be shorter than 24 characters","schema":24,"parentSchema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"data":"undefined"},{"keyword":"pattern","dataPath":".user_id","schemaPath":"#/definitions/objectIdHexString/pattern","params":{"pattern":"^[0-9a-fA-F]{24}$"},"message":"should match pattern \"^[0-9a-fA-F]{24}$\"","schema":"^[0-9a-fA-F]{24}$","parentSchema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"data":"undefined"},{"keyword":"minLength","dataPath":".user_id","schemaPath":"#/definitions/objectIdBinaryString/minLength","params":{"limit":12},"message":"should NOT be shorter than 12 characters","schema":12,"parentSchema":{"type":"string","minLength":12,"maxLength":12},"data":"undefined"},{"keyword":"type","dataPath":".user_id","schemaPath":"#/definitions/objectIdNumber/type","params":{"type":"number"},"message":"should be number","schema":"number","parentSchema":{"type":"number"},"data":"undefined"},{"keyword":"anyOf","dataPath":".user_id","schemaPath":"#/anyOf","params":{},"message":"should match some schema in anyOf","schema":[{"$ref":"#/definitions/objectIdHexString"},{"$ref":"#/definitions/objectIdBinaryString"},{"$ref":"#/definitions/objectIdNumber"}],"parentSchema":{"anyOf":[{"$ref":"#/definitions/objectIdHexString"},{"$ref":"#/definitions/objectIdBinaryString"},{"$ref":"#/definitions/objectIdNumber"}]},"data":"undefined"}],"time_stamp":"2019-12-07T01:38:14.138Z","stack":"BeraError: data.user_id should NOT be shorter than 24 characters, data.user_id should match pattern \"^[0-9a-fA-F]{24}$\", data.user_id should NOT be shorter than 12 characters, data.user_id should be number, data.user_id should match some schema in anyOf\n at Object.ValidateSchema (/opt/apps/BERA_API/modules/shared/schema_helper.js:126:24)\n at /opt/apps/BERA_API/middlewares/schema_middleware.js:33:44\n at Layer.handle [as handle_request] (/opt/apps/BERA_API/node_modules/express/lib/router/layer.js:95:5)\n at next (/opt/apps/BERA_API/node_modules/express/lib/router/route.js:137:13)\n at Route.dispatch (/opt/apps/BERA_API/node_modules/express/lib/router/route.js:112:3)\n at Layer.handle [as handle_request] (/opt/apps/BERA_API/node_modules/express/lib/router/layer.js:95:5)\n at /opt/apps/BERA_API/node_modules/express/lib/router/index.js:281:22\n at Function.process_params (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:335:12)\n at next (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:275:10)\n at Function.handle (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:174:3)\n at router (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:47:12)\n at Layer.handle [as handle_request] (/opt/apps/BERA_API/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:317:13)\n at /opt/apps/BERA_API/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:335:12)\n at next (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:275:10)\n at Function.handle (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:174:3)\n at router (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:47:12)\n at Layer.handle [as handle_request] (/opt/apps/BERA_API/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:317:13)\n at /opt/apps/BERA_API/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:335:12)\n at next (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:275:10)\n at /opt/apps/BERA_API/config/express.js:145:5\n at Layer.handle [as handle_request] (/opt/apps/BERA_API/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:317:13)\n at /opt/apps/BERA_API/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:335:12)\n at next (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:275:10)\n at /opt/apps/BERA_API/node_modules/i18next-express-middleware/lib/index.js:80:7\n at I18n.loadLanguages (/opt/apps/BERA_API/node_modules/i18next/dist/commonjs/i18next.js:372:33)\n at i18nextMiddleware (/opt/apps/BERA_API/node_modules/i18next-express-middleware/lib/index.js:79:13)\n at Layer.handle [as handle_request] (/opt/apps/BERA_API/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:317:13)\n at /opt/apps/BERA_API/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:335:12)\n at next (/opt/apps/BERA_API/node_modules/express/lib/router/index.js:275:10)\n at /opt/apps/BERA_API/middlewares/project_middleware.js:94:14\n at /opt/apps/BERA_API/modules/shared/project_helper.js:719:14\n at /opt/apps/BERA_API/modules/shared/project_helper.js:740:14\n at /opt/apps/BERA_API/modules/shared/db.js:209:16\n at handleCallback (/opt/apps/BERA_API/node_modules/mongodb/lib/utils.js:120:56)\n at /opt/apps/BERA_API/node_modules/mongodb/lib/collection.js:1416:5\n at handleCallback (/opt/apps/BERA_API/node_modules/mongodb/lib/utils.js:120:56)\n at /opt/apps/BERA_API/node_modules/mongodb/lib/cursor.js:683:5\n at handleCallback (/opt/apps/BERA_API/node_modules/mongodb-core/lib/cursor.js:171:5)\n at nextFunction (/opt/apps/BERA_API/node_modules/mongodb-core/lib/cursor.js:691:5)\n at /opt/apps/BERA_API/node_modules/mongodb-core/lib/cursor.js:602:7\n at queryCallback (/opt/apps/BERA_API/node_modules/mongodb-core/lib/cursor.js:232:18)\n at /opt/apps/BERA_API/node_modules/mongodb-core/lib/connection/pool.js:469:18\n at _combinedTickCallback (internal/process/next_tick.js:131:7)\n at process._tickDomainCallback (internal/process/next_tick.js:218:9)\n"},"request":{"url":"/merge/article?user_id=undefined","method":"GET","headers":{"host":"comunidade.efeitoorna.com","esi":"true","connection":"close","x-forwarded-proto":"https","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","accept-language":"en-US,en;q=0.5","x-forwarded-for":"35.170.81.210, 127.0.0.1","hasbranch":"production","restarts":"0","originalend":"p","profile":"sousajoycee","username":"sousajoycee","action":"articles","accept-encoding":"gzip","x-varnish":"90637445","originalhost":"comunidade.efeitoorna.com","originalurl":"API/merge/article?user_id=undefined","originalpageslug":"API","redisret":"___projectid___5d31f6cb8024d61f2aae6fa3___lang___/utils/public/lang/pt-br.json","bcp":"5d31f6cb8024d61f2aae6fa3","template":"home","lang":"/utils/public/lang/pt-br.json","_groups":"___projectid___5d31f6cb8024d61f2aae6fa3___lang___/utils/public/lang/pt-br.json","avoidbera":"","doesi":"true","epoch":"1575682694","page":"1"},"query":{"user_id":"undefined","page":1,"commenters":0,"skip":0,"limit":20,"bookmarks":false,"featured":false},"body":{},"params":{}}}