Problem with HTML description on updateItem
See original GitHub issueI don’t understand why when I try to update this item with this code:
updateItem({
item: {
id: "bb04b466539446cb9715943406c4c707",
description: "<h1>H1 Header</h1><p>Paragraph</p>",
clearEmptyFields: true
},
authentication: session
}).then(response=>{
console.log("response=",response)
});
The header tag is removed:
@jgravois are you “processing” the description
field before sending the request? (I took a quick look to the update.ts file but I haven’t seen it)
My code can be found here.
Thanks in advance!
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
UpdateItem - Amazon DynamoDB - AWS Documentation
Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete,...
Read more >DynamoDB UpdateItem Doesn't Work - Stack Overflow
It looks like you're trying to apply a document path to a non JSON item. There's no concept of ordering in a set,...
Read more >Update Item Problem - "success", but without changes
Hi all! I try to update an item's barcode (Field: “CodeBars” in “OITM”) via a (b1if) B1 Object Call using the corresponding object-template....
Read more >bug: DynamoDB: updateItem should not create a new item ...
UpdateItem should not create a new item if the key doesn't exist - at least this is the behavior on AWS (used the...
Read more >Solved: Http Error 400 Bad Request while trying to update
My flow starts to create some variables to generate then the html file inside a ... It fails at this "Update item" steps,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
closing, but happy to chat more about this if anyone has additional questions down the line.
awesome. looking really good!