Skip to main content
Question

D026 Warning when publishing my zap

  • November 21, 2024
  • 1 reply
  • 16 views

I have added the subdomain verification logic everywhere in authentication as well as in the Action Api Endpoint I am verifiying the subdomain before calling the url. Still I am unable to pass this warning.
The code I have added is attached below. I am unable to figure out why I am still getting this warning. Please Help.

Also I have an unpublished previous version and then I have worked on a newer version Will both my versions be published if I publish the latest one???

if (!/^[a-z0-9-]+$/.test(bundle.authData.subdomain)) {
 throw new Error(
   "Subdomain can only contain letters, numbers and dashes (-)."
 );
}

Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+3
  • Zapier Staff
  • 43 replies
  • November 26, 2024

Hi ​@aparajeya,

Which authentication type are you using on the integration?

Note that subdomain validation is recommended for an authentication method that uses pre-configured tokens or secret values (for example, OAuth 2).

If you are using a different authentication type, then this may not be necessary.

Cheers,