Error 1067 when using trying to add multiple domains using the batch api

{“success”:false,“errors”:[{“code”:1067,“message”:“Invalid account identifier passed in your organization variable”}],“messages”:,“result”:null}

following directions from: https://support.cloudflare.com/hc/en-us/articles/360000841472-Adding-Multiple-Sites-to-Cloudflare-via-Automation

The API looks like a single domain, but batch means it’s in a loop. Does it get through any domains before it throws that error?

It does say the Account ID is incorrect. The correct ID should show up in your URL as you’re working on your domains in the dashboard. It’s also in the lower right corner of the Overview page for any of your domains in that account.

Thanks for leading me where to find the AccountID. I used the ID found in the dashboard URL and worked fine.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.