Hello I am using 2023 api that is this one https://a.klaviyo.com/client/subscriptions/?company_id=my company id to subscribe profiles in list I m able to that with postman but with node api I am getting 202 accepted but the data is not getting stored and also my list have single opt in enabled kindly help me with this I m not getting error but data not getting stored except data sent with postman.Any help would be appreciated.
I have verified my body databy consoling there is no error in json format
If you’re getting a 202 status, that means the request has been received but not yet acted upon. This status is returned for requests that were accepted but are processed asynchronously.
Glad you already ruled out double opt-in wasn’t the setting prevent users from ending up on the list. Since you also aren’t seeing the profile created in Klaviyo, this leads me to suspect you may have triggered our list bombing prevention system.
I’ve recently shared some additional resources on this topic which you can find in the Community posts below:
If you’re getting a 202 status, that means the request has been received but not yet acted upon. This status is returned for requests that were accepted but are processed asynchronously.
Glad you already ruled out double opt-in wasn’t the setting prevent users from ending up on the list. Since you also aren’t seeing the profile created in Klaviyo, this leads me to suspect you may have triggered our list bombing prevention system.
I’ve recently shared some additional resources on this topic which you can find in the Community posts below:
UPDATE: Turns out my issue was with single vs double opt in settings on the lists I’m working with. Endpoint is working as expected 👍
Hi All,
I am seeing the same issue with Node. I am trying to update an existing profile to be subscribed to a list. I am getting a 202 back, however, nothing is changing within Klaviyo for the profile or subscription.
But the problem is when I am running on my server I was getting data that too only 10 mails after that no error but got stopped and I have been trying with different system and ips.kindly help.me out
Thank you for your response .I agree with you but using this api I won't be able to send custom properties like I was able to send from client subscription api.Is there a way to custom properties if yes then please help me with that by giving an example I am using the api in node so any help would be really appreciated
If you need hands-on help with any of these steps, I would further suggest reaching out and working alongside some of our wonderful Klaviyo Partners. You can contact our accreddited Partners through our Klaviyo Partner Directory.
yes got you but the update client api is not working i mean i tried to manually pass data but it is giving me 400 error this is the link https://developers.klaviyo.com/en/reference/create_client_profile i am using node { "data": { "type": "profile", "attributes": { "email": "sarah.mason@klaviyo-demo.com", "phone_number": "+15005550006", "external_id": "63f64a2b-c6bf-40c7-b81f-bed08162edbe", "anonymous_id": "string", "first_name": "Sarah", "last_name": "Mason" } } } data i am trying to pass but it always gives 400 error i need a help
And i used this api https://a.klaviyo.com/api/profiles/{id}/ to update profile i have seen every data is passed perfectly and from postman i can send data but not from my node or thunder in vscode why so
A 400 error code signifies a bad request as mentioned in the Response status codes section of our Rate limits, status codes, and errors Developer guide. This means that your request could be is missing a required parameter or has an invalid parameter.
Although the body of your request looks acceptable, this may indicate something in the header of your request is invalid or missing.
Since it sounds like you’re still having trouble, I would strongly encourage you to review your whole setup alongside your developer. Or if you need an introduction to one, we have a number of Klaviyo Partners who excel in this area that you can reach out to via our Klaviyo Partner Directory.
Hii thank u so much for the solution but I wanted to ask one more question is that I am trying to create list via the create list api the list gets created successfully but the problem is that the new list created has double opt in settings enabled by default but how can I make the list created single opt in by default or is there any method any help would be really appreciated
A 400 error code signifies a bad request as mentioned in the Response status codes section of our Rate limits, status codes, and errors Developer guide. This means that your request could be is missing a required parameter or has an invalid parameter.
Although the body of your request looks acceptable, this may indicate something in the header of your request is invalid or missing.
Since it sounds like you’re still having trouble, I would strongly encourage you to review your whole setup alongside your developer. Or if you need an introduction to one, we have a number of Klaviyo Partners who excel in this area that you can reach out to via our Klaviyo Partner Directory.
Hii thank u so much for the solution but I wanted to ask one more question is that I am trying to create list via the create list api the list gets created successfully but the problem is that the new list created has double opt in settings enabled by default but how can I make the list created single opt in by default or is there any method any help would be really appreciated