'new paid services not allowed error' when running a job

I’m trying to seed my database via rake task using the jobs API. Is this not available for a free web service plan?

I get the following error:
{"message":"new paid services not allowed: my-service-id"}

I’m running the following:

curl --request POST 'https://api.render.com/v1/services/my-service-id/jobs' \
    --header 'Authorization: Bearer API_TOKEN' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "startCommand": "rails rake posts:seed"
    }'

I’m using my Rails web service ID for my-service-id.

Hi @jcohenho,

Sorry - at the moment jobs are only supported for paid services.

I will make a note to make this more clear in the documentation. Sorry about that!

Best,

Thank you for clarifying @Jade_Paoletta! It then appears that Jobs are the only way to seed my free web service DB with some sample data without building a web form. Is it possible to downgrade to a free plan after upgrading and running some one-off jobs?

Hi @jcohenho,

Yes, I suppose that would be one possible solution since you are able to upgrade/downgrade your service plan at any time.