I want to automatically create serverless templates from command line/python. I tried the example for creating a new pod here: https://docs.runpod.io/docs/create-pod-template which worked.
I want to create a serverless template though, but when I add
isServerless: true
isServerless: true
to the graphql request (as per the PodTemplate documentation) it errors out with:
{"errors":[{"message":"Error saving template. Please contact support or try again later.","path":["saveTemplate"],"extensions":{"code":"RUNPOD"}}],"data":{"saveTemplate":null}}
{"errors":[{"message":"Error saving template. Please contact support or try again later.","path":["saveTemplate"],"extensions":{"code":"RUNPOD"}}],"data":{"saveTemplate":null}}