Rank 1: Thread
Message:
After creating a function using the Functions API, the domain is not created automatically, even though the documentation says a domain should be created after each deployment.
What I did:
Connected GitHub, got the installationId and repositoryId.
Successfully uploaded the function and deployed it.
However, the domain was not created, I had to create it manually.
I also tried uploading via file (Manual), and again the domain was not created.
I checked that when I create a function via the UI, the domain is created automatically. But when using the API, I need to create the domain manually and then redeploy.
My question:
Is this the expected behavior, or am I doing something wrong in my code?
If this is how it’s supposed to work, that’s fine — I’ll just create the domain manually.