英文:
Unable to post to Phonograph , getting readonly error
问题
当我尝试更新 Phonograph 中的一行时,我收到了以下错误。
q_update_phonograph 抛出了以下错误:{
"errorCode": "INVALID_ARGUMENT",
"errorName": "Phonograph2:ReadOnlyTables",
"errorInstanceId": "instanceId",
"parameters": {
"tableRids": "[phonograph rid]",
"dataInputLocatorRids": "[foundry dataset rid]"
}
}
这是我在 Table Storage 服务中提交的事件后传递的内容。
{
"extractors": {
"result": "$"
},
"headers": {},
"method": "POST",
"path": "storage/edits/tables/{tableRid}/events",
"pathParams": {
"tableRid": "phonograph rid"
},
"queryParams": {},
"bodyJson": {
"primaryKey": {
"uniq_field": "uniq_fieldValue"
},
"payload": {
"type": "rowModified",
"rowModified": {
"columns": {
"Comments": "Test Data"
}
}
}
}
}
英文:
When i am trying to update a row in Phonograph i am getting the following error.
q_update_phonograph threw the following error: {
"errorCode": "INVALID_ARGUMENT",
"errorName": "Phonograph2:ReadOnlyTables",
"errorInstanceId": "instanceId",
"parameters": {
"tableRids": "[phonograph rid]",
"dataInputLocatorRids": "[foundry dataset rid]"
}
}
This is what i am passing in the Table Storage Service Post Event
{
"extractors": {
"result": "$"
},
"headers": {},
"method": "POST",
"path": "storage/edits/tables/{tableRid}/events",
"pathParams": {
"tableRid": "phonograph rid"
},
"queryParams": {},
"bodyJson": {
"primaryKey": {
"uniq_field": "uniq_fieldValue"
},
"payload": {
"type": "rowModified",
"rowModified": {
"columns": {
"Comments": "Test Data"
}
}
}
}
}
答案1
得分: 0
首先需要创建写回数据集,然后这个问题将会被解决。
谢谢 nicornk
英文:
First the write back dataset needs to be created, then this issue will be resolved.
Thank you nicornk
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论