2 Answers
- Newest
- Most votes
- Most comments
0
It would difficult to provide exact answer when schema of the table is not know but I can see that you have swapped the values in the query but did not swap the keys, so there might be a possibility that the value you provided with respect to the key does not exist in the table. Please check the schema of the table and try to rewrite your query.
answered a year ago
-1
Thanks. I solved this by adding private read access to the message table. If the friendID was the logged in cognito user ID, it wouldn't fetch the results.
answered a year ago
Relevant content
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago