We are in development using our staging key. We have started to receive 400 errors

We even switched to the helloworld sample and are still receiving a 400 error.

My api key is REDACTED

The url we are using is https://api.shotstack.io/stage/render

The json we are trying to use is

{
  "timeline": {
    "soundtrack": {
      "src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/music/moment.mp3",
      "effect": "fadeOut"
    },
    "background": "#000000",
    "tracks": [
      {
        "clips": [
          {
            "asset": {
              "type": "text",
              "text": "HELLO WORLD",
              "font": {
                "size": 32,
                "align": "center",
                "font": "Montserrat ExtraBold",
                "color": "#FFFFFF"
              }
            },
            "start": 0,
            "length": 5,
            "transition": {
              "in": "fade",
              "out": "fade"
            }
          }
        ]
      }
    ]
  },
  "output": {
    "format": "mp4",
    "size": {
      "width": 1024,
      "height": 576
    }
  }
}

Please advise.

-Danny

Hi Danny,

I see the issue. During our last docs update we inserted an example with a syntax issue. Thank you for pointing this out. It’s been updated to the following:

{
    "timeline": {
        "soundtrack": {
            "src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/music/moment.mp3",
            "effect": "fadeOut"
        },
        "tracks": [
            {
                "clips": [
                    {
                        "asset": {
                            "type": "text",
                            "text": "HELLO WORLD",
                            "font": {
                                "family": "Montserrat ExtraBold",
                                "color": "#ffffff",
                                "size": 32
                            },
                            "alignment": {
                                "horizontal": "left"
                            }
                        },
                        "start": 0,
                        "length": 5,
                        "transition": {
                            "in": "fade",
                            "out": "fade"
                        }
                    }
                ]
            }
        ]
    },
    "output": {
        "format": "mp4",
        "size": {
            "width": 1024,
            "height": 576
        }
    }
}

Thank you, dazzatron, for your prompt response. We have switched to the new JSON, but we are still encountering the 400 error. In staging, we were able to create videos successfully yesterday and were testing the AI feature’s quality (which I really appreciate). We were also addressing some final issues before preparing to launch our product. As the only employee and developer at Curbfeed, it seems there is an issue with the key. Thank you once again for your assistance and exceptional service, as it is crucial to the success of our real estate product, which is nearing completion.

It is possible to share some of your original payloads that are now getting 400 errors? You can also send it to my email at derk@shotstack.io

Hello,
I don’t know if it is a related issue, but I can’t access any Staging templates through make.com module.
I tried renewing the connection in Make, deleting/renaming/creating new templates, but nothing worked.
Rendering seems to be working with existing automation on Staging, but I can’t change it, or create anything new because I can’t access any other template.
When I use the API Call module, using GET /templates, I get:
RuntimeError
[404] Unknown: Unknown Error


Looking forward to your reply,
Thanks in advance!

We have just released a fix for this. Apologies for the inconvenience.

It works now, thanks a lot!