Api call error Email


#1

Hi i have a error when i call api for update or created

I don’t understand why this message appears
{“status”:“error”,“message”:“Email·address··is·invalid”,“correlationId”:“59a0aab8-8989-4a34-8176-e93e9ee3ce67”,“requestId”:“361db36eba386acc6f476ce6fd8f0bbd”}

examples of my json
{
“properties”:[
{
“property”:“Salutation”,
“Value”:“Madame”,
“property”:“firstname”,
“Value”:“Ahmed”,
“property”:“lastname”,
“Value”:“Kounasso”,
“property”:“email”,
“Value”:"Ahmedupsert@gmail.com"
}
]
}
regards


#2

Hi
issue solved, because my jsons didn’t respect the build json


#3

@Ahmed_Kounasso You need to have each property/value set enclosed in their own brackets. Please read our docs linked to below.

Here is an example excerpt
"properties": [ { "property": "email", "value": "test@hubspot.com" }, { "property": "firstname", "value": "Matt" },.........