Hi,
I am using below API for assign member to Team. When I trying this API in postman its working fine but when I am integrating using javascript I am getting below error. Please call me as soon as possible.
API : https://graph.microsoft.com/v1.0/teams/{TeamId}/members
Error:
"A supported MIME type could not be found that matches the acceptable MIME types for the request. The supported type(s)
'application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false,
application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true,
application/json;odata.metadata=minimal;odata.streaming=true,
application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false,
application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true,
application/json;odata.metadata=minimal;odata.streaming=false,
application/json;odata.metadata=minimal;IEEE754Compatible=false,
application/json;odata.metadata=minimal;IEEE754Compatible=true,
application/json;odata.metadata=minimal,
application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false,
application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true,
application/json;odata.metadata=full;odata.streaming=true,
application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false,
application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatib...' do not match any of the acceptable MIME types 'text/*'."
Thanks,
Naga