PATCH does not update birthday of contact

Melle Boudewijns 1 Reputation point

When we create a contact record with a POST request the birth date is set, but when we try to update it with a PATCH request we receive a 406 error. Does anybody knows a solution?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,839 questions
{count} votes

2 answers

Sort by: Most helpful
  1. HarmeetSingh7172 4,811 Reputation points

    Hi @MelleBoudewijns-1749

    Thank you for reaching out!

    I am unable to reproduce this behavior. I'm able to create and further update birthday property of a contact record successfully.

    Generally 406 error signifies "This service doesn’t support the format requested in the Accept header". Please ensure that you are using right content-type. i.e., For PATCH request, you need to add Accept application/json in header.


    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote. If you have further questions about this answer, please click "Comment".

    0 comments No comments

  2. Melle Boudewijns 1 Reputation point

    I tested it in more detail and found that it was actually an issue in an other field (emailadress) that caused the problem. I did not see that the email addresses were sent too.

    0 comments No comments