Respondido

Erro ao pegar o historico de conversas


Estou tentando pegar o historico de conversas pela API e recebo esta messagem de erro:
{"code":21,"description":"Unsupported content type"}

Passo no body:

{  
"id": "{{$guid}}",
"method": "get",
"uri": "/threads?refreshExpiredMedia=true"
}

No Headeer

Content-Type: application/json
Authorization: Key {YOUR_TOKEN}

A key está correta funciona em outra requisição

 

icon

Melhor resposta por Rafael_Figueiredo 27 April 2024, 22:03

Veja o original

1 comentário

Reputação 7
Crachá +3

Olá @Cicero W16 tudo bem ? 

O erro pode ocorrer quando nao se insere o Content-Type no header ex:

com o content type : 

 

Comente