table.update_item(
Key=_filter,
UpdateExpression='set type = :g',
ExpressionAttributeValues={
':g': '111'
}
)
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the UpdateItem operation: Invalid UpdateExpression: Attribute name is a reserved keyword; reserved keyword: type
1
monsterxx03 2021-02-21 21:26:50 +08:00 via Android
|
2
fangwenxue OP @monsterxx03 thanks
|