Custom domain to API for Production

Hi all,

I followed the guide but i can’t link my custom domain to my api.
Here is the error message I get when launching the deployment to production :

[Error at /prod-awslambda-ApiStack/Api] Found zones: for dns:com, privateZone:undefined, vpcId:undefined, but wanted exactly 1 zone

my ApiStack.js

const api = new Api(stack, “Api”, {
app.stage === “prod” ? “” : undefined,
defaults: { … },

Whats wrong ?

Thank a lot for your help