Hi,
Â
I am trying to create profiles in the klaviyo and add them to the list. Once the profile is created, we use the following code to add the profile to the list:
Â
$this->client->post("https://a.klaviyo.com/api/profile-subscription-bulk-create-jobs", ,
  'json' => g
    'data' => '
      'type' => 'profile-subscription-bulk-create-job',
      'attributes' =>
        "list_id" => $this->list_id,
        "subscriptions" =>
          t
            "email" => $email,
          ]
        ]
      ],
    ]
  ]
]);
Â
The issue is that this code works perfectly on the local computer but it does not work on the server hosted on digital ocean. On the server, we can create the profile via the API but can’t use this endpoint.
Â
It returns an empty 202 response on both the personal computer and the server. So, it seem like either this endpoint is banned for my server or it is banned for server providers. I am using Digital Ocean.
Â
Can you let me know if there is anything specific with this endpoint being banned? A lot of our klaviyo users are reporting this issue.
Â
Thanks.