Cannot update the video name when updating through the API


We are using the Stream API to upload a video, however we cannot update the video title for some reason. Here is the body of the request:

var raw = JSON. stringify ({
“maxDurationSeconds”: 3600,
“requireSignedURLs”: true ,
“allowedOrigins”: [
“thumbnailTimestampPct”: 0.568427,
“meta”: {
“name”: “WIll this work?”

We are passing the values dynamically into the JSON string, would that cause the issue?