Copy Activity Source 的 REST 数据集给我错误 Invalid PaginationRule
REST dataset for Copy Activity Source give me error Invalid PaginationRule
我的副本 Activity 设置为使用 REST Get API 调用作为我的来源。我不断收到错误代码 2200 Invalid PaginationRule RuleKey=supportRFC5988.
我可以使用 Web Activity 调用 GET Rest URL,但这不是最佳选择,因为我必须将输出传递给存储过程以将数据加载到 table。我更愿意使用 Copy Activity.
知道为什么我会在调用时收到无效的分页规则错误吗?
我正在使用具有以下属性的 REST 链接服务:
姓名:工作日
通过集成运行时连接:link-unknown-self-hosted-ir
基数 URL:https://wd2-impl-services1.workday.com/ccx/service
身份验证类型:基本
用户名:不说
用于密码的 Azure Key Vault
服务器证书验证已启用
参数:Name:format Type:String 默认 value:json
数据源:
"name": "Workday_Test_REST_Report",
"properties": {
"linkedServiceName": {
"referenceName": "Workday",
"type": "LinkedServiceReference",
"parameters": {
"format": "json"
}
},
"folder": {
"name": "Workday"
},
"annotations": [],
"type": "RestResource",
"typeProperties": {
"relativeUrl": "/customreport2/company1/person%40company.com/HIDDEN_BI_RaaS_Test_Outbound"
},
"schema": []
}
}
Copy Activity
{
"name": "Copy Test Workday REST API output to a table",
"properties": {
"activities": [
{
"name": "Copy data1",
"type": "Copy",
"dependsOn": [],
"policy": {
"timeout": "7.00:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"source": {
"type": "RestSource",
"httpRequestTimeout": "00:01:40",
"requestInterval": "00.00:00:00.010",
"requestMethod": "GET",
"paginationRules": {
"supportRFC5988": "true"
}
},
"sink": {
"type": "SqlMISink",
"tableOption": "autoCreate"
},
"enableStaging": false
},
"inputs": [
{
"referenceName": "Workday_Test_REST_Report",
"type": "DatasetReference"
}
],
"outputs": [
{
"referenceName": "Destination_db",
"type": "DatasetReference",
"parameters": {
"schema": "ELT",
"tableName": "WorkdayTestReportData"
}
}
]
}
],
"folder": {
"name": "Workday"
},
"annotations": []
}
}
发布这个之后,我注意到在副本 activity 代码中有一个关于 "supportRFC5988": "true"
的小块,我将 true 切换为 false,一切都对我有用。我没有在 Copy Activity GUI
中看到更改它的方法
编辑源代码并将此选项设置为 false 很有帮助!
我的副本 Activity 设置为使用 REST Get API 调用作为我的来源。我不断收到错误代码 2200 Invalid PaginationRule RuleKey=supportRFC5988.
我可以使用 Web Activity 调用 GET Rest URL,但这不是最佳选择,因为我必须将输出传递给存储过程以将数据加载到 table。我更愿意使用 Copy Activity.
知道为什么我会在调用时收到无效的分页规则错误吗?
我正在使用具有以下属性的 REST 链接服务: 姓名:工作日 通过集成运行时连接:link-unknown-self-hosted-ir 基数 URL:https://wd2-impl-services1.workday.com/ccx/service 身份验证类型:基本 用户名:不说 用于密码的 Azure Key Vault 服务器证书验证已启用 参数:Name:format Type:String 默认 value:json 数据源:
"name": "Workday_Test_REST_Report",
"properties": {
"linkedServiceName": {
"referenceName": "Workday",
"type": "LinkedServiceReference",
"parameters": {
"format": "json"
}
},
"folder": {
"name": "Workday"
},
"annotations": [],
"type": "RestResource",
"typeProperties": {
"relativeUrl": "/customreport2/company1/person%40company.com/HIDDEN_BI_RaaS_Test_Outbound"
},
"schema": []
}
}
Copy Activity
{
"name": "Copy Test Workday REST API output to a table",
"properties": {
"activities": [
{
"name": "Copy data1",
"type": "Copy",
"dependsOn": [],
"policy": {
"timeout": "7.00:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"source": {
"type": "RestSource",
"httpRequestTimeout": "00:01:40",
"requestInterval": "00.00:00:00.010",
"requestMethod": "GET",
"paginationRules": {
"supportRFC5988": "true"
}
},
"sink": {
"type": "SqlMISink",
"tableOption": "autoCreate"
},
"enableStaging": false
},
"inputs": [
{
"referenceName": "Workday_Test_REST_Report",
"type": "DatasetReference"
}
],
"outputs": [
{
"referenceName": "Destination_db",
"type": "DatasetReference",
"parameters": {
"schema": "ELT",
"tableName": "WorkdayTestReportData"
}
}
]
}
],
"folder": {
"name": "Workday"
},
"annotations": []
}
}
发布这个之后,我注意到在副本 activity 代码中有一个关于 "supportRFC5988": "true"
的小块,我将 true 切换为 false,一切都对我有用。我没有在 Copy Activity GUI
编辑源代码并将此选项设置为 false 很有帮助!