I'm trying to build a flow that creates a file in a SharePoint document library using the Send an HTTP request to SharePoint action. I'm using this action because I want the document library to be dynamic, and the Create File action doesn't appear to allow that.
My flow creates the file in the library without any errors, but when I attempt to open the file I see a message that the file isn't valid:

I decided to hard code a document library path and use the Create File action to compare the files once they're uploaded. This is the result:

The bottom file is created using the Create File action and opens just fine. The top file is quite a bit larger, which makes me think it isn't properly encoded.
I'm pulling the file contents from PowerApps in base64 format as demonstrated here. Since both actions use the same data, I believe I'm missing something in the body of the HTTP request action. Here are the two actions:

Am I missing something in the Body of the HTTP request?