I’m starting out with Cloudflare, and I cannot manage to create a pool.
I am sending the request to https://api.cloudflare.com/client/v4/user/load_balancers/pools
with the data:
{
'zone': 'thunderstake.io',
'name': 'test',
'origins': [
{
"name": "test",
"address": "0.0.0.0",
"enabled": True,
"weight": 1,
"header": {
"Host": [
"example.com"
]
}
}
],
'origin_steering': {
'policy': 'random',
},
}
The response is
{
"result": null,
"success": false,
"errors": [
{
"code": 1002,
"message": "Internal error creating or modifying pool. Access Failed. Please reach out to Support.: validation failed"
}
],
"messages": []
}
Any help is appreciated!!!