Untitled

mail@pastecode.io avatar
unknown
plain_text
16 days ago
4.8 kB
2
Indexable
Never
{
    "errors": [
        {
            "message": "InternalServerError. Error mapping types.\r\n\r\nMapping types:\r\nReportBuilderTemplateModel -> DbReportBuilderTemplateModel\r\nCRM.Module.Template.Core.Context.Main.Models.ReportBuilderTemplateModel -> CRM.Module.Template.Repository.Models.Mongo.DbReportBuilderTemplateModel\r\n\r\nType Map configuration:\r\nReportBuilderTemplateModel -> DbReportBuilderTemplateModel\r\nCRM.Module.Template.Core.Context.Main.Models.ReportBuilderTemplateModel -> CRM.Module.Template.Repository.Models.Mongo.DbReportBuilderTemplateModel\r\n\r\nDestination Member:\r\nId\r\n (Missing type map configuration or unsupported mapping.\r\n\r\nMapping types:\r\nString -> ObjectId\r\nSystem.String -> MongoDB.Bson.ObjectId), LogKey=cc3a08ec3f",
            "locations": [
                {
                    "line": 2,
                    "column": 3
                }
            ],
            "path": [
                "crmReportBuilderTemplateMoveTemplate"
            ],
            "extensions": {
                "code": "INTERNAL_SERVER_ERROR",
                "stacktrace": [
                    "ServiceException: InternalServerError. Error mapping types.\r",
                    "\r",
                    "Mapping types:\r",
                    "ReportBuilderTemplateModel -> DbReportBuilderTemplateModel\r",
                    "CRM.Module.Template.Core.Context.Main.Models.ReportBuilderTemplateModel -> CRM.Module.Template.Repository.Models.Mongo.DbReportBuilderTemplateModel\r",
                    "\r",
                    "Type Map configuration:\r",
                    "ReportBuilderTemplateModel -> DbReportBuilderTemplateModel\r",
                    "CRM.Module.Template.Core.Context.Main.Models.ReportBuilderTemplateModel -> CRM.Module.Template.Repository.Models.Mongo.DbReportBuilderTemplateModel\r",
                    "\r",
                    "Destination Member:\r",
                    "Id\r",
                    " (Missing type map configuration or unsupported mapping.\r",
                    "\r",
                    "Mapping types:\r",
                    "String -> ObjectId\r",
                    "System.String -> MongoDB.Bson.ObjectId), LogKey=cc3a08ec3f",
                    "    at ReportBuilderTemplateDatasource.getError (/Users/shck/projects/webx.crm.backoffice.v2/apps/api/src/core/datasources/sources/abstract/base.datasource.ts:45:25)",
                    "    at ReportBuilderTemplateDatasource.throwIfErrorInResponse (/Users/shck/projects/webx.crm.backoffice.v2/apps/api/src/core/datasources/sources/abstract/base.datasource.ts:93:42)",
                    "    at /Users/shck/projects/webx.crm.backoffice.v2/apps/api/src/core/datasources/sources/abstract/abstract.datasource.ts:103:36",
                    "    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
                    "    at Axios.request (/Users/shck/projects/webx.crm.backoffice.v2/node_modules/axios/lib/core/Axios.js:40:14)",
                    "    at AxiosHttpMethods.post (/Users/shck/projects/webx.crm.backoffice.v2/apps/api/src/core/datasources/sources/abstract/axios.class.ts:11:17)",
                    "    at target (/Users/shck/projects/webx.crm.backoffice.v2/node_modules/@nestjs/core/helpers/external-context-creator.js:74:28)",
                    "    at Object.crmReportBuilderTemplateMoveTemplate (/Users/shck/projects/webx.crm.backoffice.v2/node_modules/@nestjs/core/helpers/external-proxy.js:9:24)"
                ],
                "status": 500,
                "originalError": {
                    "code": 1000,
                    "message": "InternalServerError. Error mapping types.\r\n\r\nMapping types:\r\nReportBuilderTemplateModel -> DbReportBuilderTemplateModel\r\nCRM.Module.Template.Core.Context.Main.Models.ReportBuilderTemplateModel -> CRM.Module.Template.Repository.Models.Mongo.DbReportBuilderTemplateModel\r\n\r\nType Map configuration:\r\nReportBuilderTemplateModel -> DbReportBuilderTemplateModel\r\nCRM.Module.Template.Core.Context.Main.Models.ReportBuilderTemplateModel -> CRM.Module.Template.Repository.Models.Mongo.DbReportBuilderTemplateModel\r\n\r\nDestination Member:\r\nId\r\n (Missing type map configuration or unsupported mapping.\r\n\r\nMapping types:\r\nString -> ObjectId\r\nSystem.String -> MongoDB.Bson.ObjectId), LogKey=cc3a08ec3f",
                    "info": {
                        "method": "/api/ReportBuilderTemplate/MoveTemplate",
                        "msg": null,
                        "payload": {
                            "invalidFields": null
                        }
                    },
                    "userId": 11099,
                    "statusCode": 500
                }
            }
        }
    ],
    "data": null
}
Leave a Comment