首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >在测试自定义的数据源函数出现这个问题record undefined not exists 怎解决?

在测试自定义的数据源函数出现这个问题record undefined not exists 怎解决?

提问于 2022-01-12 10:20:47
回答 1关注 0查看 239

START RequestId: e8c27e17-ac1c-41af-9fec-bfaa5e55e6e8

Event RequestId: e8c27e17-ac1c-41af-9fec-bfaa5e55e6e8

2022-01-12T02:14:20.592Z e8c27e17-ac1c-41af-9fec-bfaa5e55e6e8 incoming data to cloud function {

  dataSourceName: 'rygl_9p3m0tc',

  isTestMode: true,

  methodName: 'method_572a074576c79',

  params: { mm: '这里是示例', ryid: '这里是示例' },

  referrer: 'https://console.cloud.tencent.com/lowcode/datasource/detail?envId=lowcode-0g1x1hstc8cf94ef&detailDataSourceId=data-1McYiaWyK&autoEdit=true&appId=app-Eb4cbNb1',

  testDataSource: {

    appUsageList: [ [Object] ],

    cmsProject: 0,

    configuration: {},

    createdAt: '2022-01-09T14:12:56.000+0000',

    creatorId: '22942',

    description: '',

    envId: 'lowcode-0g1x1hstc8cf94ef',

    fun: '{"prviewPublishAt":"2022-01-12T09:12:28.144+0800","onlinePublishAt":"2022-01-12T09:06:41.314+0800","previewVersion":5,"onlineVersion":4}',

    id: 'data-1McYiaWyK',

    isNewDataSource: 1,

    methods: [ [Object] ],

    name: 'rygl_9p3m0tc',

    pkgId: 'lowcode-0g1x1hstc8cf94ef',

    publishStatus: 0,

    scfPubStatus: 1,

    scfStatus: 3,

    schema: {

      name: 'rygl_9p3m0tc',

      properties: [Object],

      required: [Array],

      title: '人员管理',

      type: 'object',

      'x-defaultMethods': [Array],

      'x-kind': 'tcb',

      'x-relatedType': 'exist',

      'x-viewId': 'view-2l4me15uu8'

    },

    source: 0,

    templateCode: '',

    title: '人员管理',

    type: 'database',

    updateVersion: 5,

    updatedAt: '2022-01-12T01:12:28.000+0000',

    viewId: 'view-2l4me15uu8'

  },

  userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55'

}

2022-01-12T02:14:20.759Z e8c27e17-ac1c-41af-9fec-bfaa5e55e6e8 datasource calling error: 数据源自定义方法调用失败: record undefined not exists record undefined not exists

 Error: record undefined not exists

    at module.exports (method_572a074576c79.js:7:11)

    at processTicksAndRejections (internal/process/task_queues.js:97:5)

END RequestId: e8c27e17-ac1c-41af-9fec-bfaa5e55e6e8

Report RequestId: e8c27e17-ac1c-41af-9fec-bfaa5e55e6e8 Duration:169ms Memory:128MB MemUsage:36.5061MB

相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档