Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建数据源,datasourceStorages字段问题 #91

Open
1 task done
bourne-3 opened this issue Mar 18, 2024 · 1 comment
Open
1 task done

创建数据源,datasourceStorages字段问题 #91

bourne-3 opened this issue Mar 18, 2024 · 1 comment

Comments

@bourne-3
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

image
创建mysql数据源,https://lowcode.methodot.com/api/v1/datasources 这个接口
我看在代码中,有这样的校验:
image
当没有 datasourceStorages 为空的时候,应该会报错,我看接口也没传这个参数,咋不会报。。

我本地部署后, 请求则报错了

Steps To Reproduce

1、部署server端
2、请求接口(已确保 workspace_id 与 application_id 是正确)
3、查看报错为:

{
    "responseMeta": {
        "status": 400,
        "success": false,
        "error": {
            "code": "AE-APP-4000",
            "title": "ARGUMENT_ERROR",
            "message": "Please enter a valid parameter datasource.",
            "errorType": "Invalid parameter"
        }
    },
    "errorDisplay": "AE-APP-4000: Please enter a valid parameter datasource."
}

Public Sample App

No response

Environment

Deploy Preview

Issue video log

No response

Version

1.9.35

@AppsmithCN
Copy link
Contributor

你用的是在线体验环境的吧?在线体验环境的是1.8.15版本;源码是后面版本改的了,在线的版本太老了,所以在线环境看不见传值

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants