gpt4 book ai didi

amazon-web-services - DynamoDB : Two document paths overlap with each other; must remove or rewrite one of these paths

转载 作者:行者123 更新时间:2023-12-04 14:16:16 24 4
gpt4 key购买 nike

我有这个更新表达式:

{
"UpdateExpression": "SET #location = :location, #edited = :edited, #coordinates = :coordinates, #city = :city, #country = :country, #zipCode = :zipCode, #street = :street, coordinates = :coordinates",
"ExpressionAttributeValues": {
":location": "Reston, VA",
":edited": true,
":coordinates": {
"lat": 38.9586307,
"lng": -77.35700279999999
},
":city": "Reston",
":country": "US",
":zipCode": "20190",
":street": "11910 Market St"
},
"ExpressionAttributeNames": {
"#location": "location",
"#edited": "edited",
"#coordinates": "coordinates",
"#city": "city",
"#country": "country",
"#zipCode": "zipCode",
"#street": "street"
}
}

我收到了这个奇怪的错误
ERROR: ValidationException: Invalid UpdateExpression: Two document paths overlap with each other; must remove or rewrite one of these paths; path one: [coordinates], path two: [zipCode]

我在网上找不到任何信息,也看不到重叠的地方。
任何帮助将不胜感激。

最佳答案

coordinates两次有效地出现在你的表达中。

关于amazon-web-services - DynamoDB : Two document paths overlap with each other; must remove or rewrite one of these paths,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60042921/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com