Git Product home page Git Product logo

Comments (5)

alexandra-toder avatar alexandra-toder commented on June 9, 2024 2

I tried to create the new contact to a list ID using the API "https://api.sendinblue.com/v3/contacts" and passed the "listIds" => [7], but I get the error "[400] Client error: POST https://api.sendinblue.com/v3/contacts resulted in a 400 Bad Request response: {"code":"invalid_parameter","message":"Contact already exist"} " on line 701 of sendinblue\api-v3-sdk\lib\Api\ContactsApi.php" because the user existing in other list
Please let me know, if you have any solution for it.
Thanks.

from apiv3-php-library.

yewyewXD avatar yewyewXD commented on June 9, 2024 1

You need to first add the email to your Contact using https://api.sendinblue.com/v3/contacts. Then after that you can add the email to a List using https://api.sendinblue.com/v3/contacts/lists/:listId/contacts/add

from apiv3-php-library.

vishalpawar-tudip avatar vishalpawar-tudip commented on June 9, 2024

Hi @mikhael87,
I tried to create the new contact to a list ID using the API "https://api.sendinblue.com/v3/contacts" and passed the "listIds" => ["1"] and other attributes in body params.
But, it is not adding into the list specified in the param.
Please let me, if you have any solution for it.
Thanks.

from apiv3-php-library.

mikhael87 avatar mikhael87 commented on June 9, 2024

Hey vishalpawar-tudip,
This issue wasn't a really issue, I confused a that time with some guide, I don't remember it was this in Github, but I tried to add a contact to the incorrect endpoint, invalid_parameter was the key, it doesn't really exists to this endpoint.

Hope it works!

from apiv3-php-library.

vivekexpresstech avatar vivekexpresstech commented on June 9, 2024

Hello i am using same add contacts to list but i received error of Invalid list Id please help me to fix this

from apiv3-php-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.