Closed Dallas62 closed 6 years ago
Hi @Dallas62
Can you please share your complete code input, so that we can try to replicate?
Thanks
Just need to call
apiInstance.getContactInfo(email)
over a list of emails, the inputs that create the bug come from sendinblue API.
Issue not replicated at our end. Please try below code, it works nicely
var SibApiV3Sdk = require('sib-api-v3-sdk');
var defaultClient = SibApiV3Sdk.ApiClient.instance;
var apiKey = defaultClient.authentications['api-key'];
apiKey.apiKey = "yourApiKey"
var apiInstance = new SibApiV3Sdk.ContactsApi();
var email = "test@sendinblue.com"; // String | Email (urlencoded) of the contact
apiInstance.getContactInfo(email).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Hope that helps! If you still face any issue please raise a support ticket here https://account.sendinblue.com/support with detailed information.
Thanks
The following code is the same or close as mine.
The problem doesn't appear on test@sendinblue.com, well.
Take randomly 10k emails from production and run the same code in a loop to find an email with the bug.
If you have a private contact point, I can find a e-mail from our database/sendinblue campaigns.
While retrieving ContactInfo with:
I fall into a bug:
I added some debug log in
[project]/node_modules/sib-api-v3-sdk/src/ApiClient.js:503
:3 elements are printed:
Cordialy.