1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

日本情報クリエイト Engineer'sAdvent Calendar 2017

Day 2

DynamoDBで"The provided starting key does not match the range key predicate"とエラーが出た

Last updated at Posted at 2019-01-09

なんかphpでaws-sdk-php経由でDynamoDBを叩くと"The provided starting key does not match the range key predicate"とエラーが出る。
条件式の「ExclusiveStartKey」が間違っていたのが原因だった。
ループで回してる箇所で初期化されてないために前回の条件を引き継いでしまっていた。
ムシャクシャしてunset()してやった。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?