Importing Multiple Domains


#1

Hi All

I’ve been trying in vain to import 50+ domains into my CloudFlare account without luck. Does anybody have any advise where I’m going wrong?

I’m using the instructions at: https://support.cloudflare.com/hc/en-us/articles/360000841472

When attempting to run the command:

I receive:

equest body"}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}{“success”:false,“errors”:[{“code”:6007,“message”:“Malformed JSON in request body”}],“messages”:[],“result”:null}

Any insight gratefully received!

Thanks

Andy


#2

Try running your json payload through a json validator:

You’ll get an error on the line if you have invalid JSON

Also see the documentation for how the payload should be formatted, in case the article may be out of date:

https://api.cloudflare.com/#zone-create-zone


#3

This topic was automatically closed after 14 days. New replies are no longer allowed.