Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

122
Visualizações
Firebase MessageBird extension not sending SMS

I am not able to successfully process the sending of an sms through the firebase extension. Attached is the code of my js code to generate the document in the firestore collection, as well as the document created by the extension, where you can see the parameters received and the error. I have talked to messagebird support and they do not handle this error. The problem must be with firebase.

firestoredb.collection('messages').add({
  channelId: 'mychannelID',
  originator : 'Testing',
  recipients : ['34689454416'],
  type: 'sms',
  body : 'This is a test',
});

Firestore Document data and error:

Firestore Document data and error

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

If I look at the documentation for the Send Messages with MessageBird extension, they show the following code sample for sending a message:

 db.collection('YOUR_DOCUMENT_COLLECTION').add({
  channelId: 'YOUR_CHANNEL_ID',
  type: 'text',
  content: {
    text: 'YOUR_MESSAGE_CONTENT'
  },
  to: 'RECIPIENT_OF_THE_MESSAGE',
});

Based on that, it seems you need to specify the recipient(s) in a field named to, while you have field named recipients.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda