A煤n no tienes acceso a esta clase

Crea una cuenta y contin煤a viendo este curso

Enviar y almacenar los datos

19/24
Recursos

Aportes 5

Preguntas 0

Ordenar por:

驴Quieres ver m谩s aportes, preguntas y respuestas de la comunidad? Crea una cuenta o inicia sesi贸n.

este curso no da niniguna de las precaciones, que da error a los estudiantes, tengo mas de 10 dias y tuve que resolver yo solo, entiendo que debe haber alguien encargado de responder dudas yy muestre los beneficios de estudiar online.

Tengo el mensaje de: Fallo en escribir los datos en Firestore al grabar los datos, alguna sugerencia?

PDT: FulFillment esta activo en mi INTENTS reserva.oneway.

me presenta el siguiente error
Webhook call failed. Error: DEADLINE_EXCEEDED.

{
鈥渞esponseId鈥: 鈥876f6793-e793-4c8a-bcf9-4d5d1089cefe-426bc00a鈥,
鈥渜ueryResult鈥: {
鈥渜ueryText鈥: 鈥渃onfirmar鈥,
鈥渁ction鈥: 鈥渞eserva.reserva-custom-3鈥,
鈥減arameters鈥: {
鈥渇echa鈥: 鈥2019-01-01T12:00:00-04:00鈥,
鈥渄estination1鈥: 鈥淏OG鈥,
鈥減aispassport1鈥: 鈥淢茅xico鈥,
鈥渘ame1鈥: 鈥渄ario鈥,
鈥渃onfirmacion鈥: 鈥淎cepto鈥,
鈥渙rigin1鈥: 鈥淥RD鈥,
鈥渆mail1鈥: "[email protected]",
鈥渋dpassport1鈥: 12
},
鈥渁llRequiredParamsPresent鈥: true,
鈥渇ulfillmentMessages鈥: [
{
鈥渢ext鈥: {
鈥渢ext鈥: [
""
]
}
}
],
鈥渙utputContexts鈥: [
{
鈥渘ame鈥: 鈥減rojects/cloud-airlines-ovropy/agent/sessions/5f8a33c9-e0d5-678b-eb20-3ad40cd1cab9/contexts/reserva-followup鈥,
鈥渓ifespanCount鈥: 1,
鈥減arameters鈥: {
鈥渙rigin.original鈥: 鈥渂og鈥,
鈥渘ame1.original鈥: 鈥渄ario鈥,
鈥減aispassport1.original鈥: 鈥渕exico鈥,
鈥渇echa1.original鈥: 鈥溾,
鈥減aispassport.original鈥: 鈥溾,
鈥渆mail1鈥: "[email protected]",
鈥渇echa1鈥: 鈥溾,
鈥渇echa鈥: 鈥2019-01-01T12:00:00-04:00鈥,
鈥渆mail1.original鈥: "[email protected]",
鈥渆mail鈥: 鈥溾,
鈥渢ipovuelo鈥: 鈥溾,
鈥減aispassport鈥: 鈥溾,
鈥渋dpassport鈥: 鈥溾,
鈥渙rigin鈥: 鈥淏OG鈥,
鈥渢ipovuelo.original鈥: 鈥溾,
鈥減aispassport1鈥: 鈥淢茅xico鈥,
鈥渋dpassport1.original鈥: 鈥12鈥,
鈥渇echa2.original鈥: 鈥溾,
鈥渃onfirmacion.original鈥: 鈥渃onfirmar鈥,
鈥渄estination1.original鈥: 鈥渂og鈥,
鈥渄estination.original鈥: 鈥溾,
鈥渇echa.original鈥: 鈥1/1/2019鈥,
鈥渘ame.original鈥: 鈥溾,
鈥渙rigin1鈥: 鈥淥RD鈥,
鈥渘ame鈥: 鈥溾,
鈥渄estination1鈥: 鈥淏OG鈥,
鈥渋dpassport.original鈥: 鈥溾,
鈥渄estination鈥: 鈥溾,
鈥渇echa2鈥: 鈥溾,
鈥渘ame1鈥: 鈥渄ario鈥,
鈥渃onfirmacion鈥: 鈥淎cepto鈥,
鈥渙rigin1.original鈥: 鈥渃hicago鈥,
鈥渋dpassport1鈥: 12,
鈥渆mail.original鈥: 鈥溾
}
}
],
鈥渋ntent鈥: {
鈥渘ame鈥: 鈥減rojects/cloud-airlines-ovropy/agent/intents/b01b016c-b171-4285-a86d-fa5277b4d5fb鈥,
鈥渄isplayName鈥: 鈥渞eserva.oneway鈥
},
鈥渋ntentDetectionConfidence鈥: 1,
鈥渄iagnosticInfo鈥: {
鈥渨ebhook_latency_ms鈥: 4990
},
鈥渓anguageCode鈥: 鈥渆s鈥
},
鈥渨ebhookStatus鈥: {
鈥渃ode鈥: 4,
鈥渕essage鈥: 鈥淲ebhook call failed. Error: DEADLINE_EXCEEDED.鈥
},
鈥渙utputAudio鈥: 鈥淯klGRgQCAABXQVZFZm10IBAAAAABAAEAwF0AAIC7AAACABAAZGF0YeABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=鈥,
鈥渙utputAudioConfig鈥: {
鈥渁udioEncoding鈥: 鈥淥UTPUT_AUDIO_ENCODING_LINEAR_16鈥,
鈥渟ynthesizeSpeechConfig鈥: {
鈥渟peakingRate鈥: 1,
鈥渧oice鈥: {
鈥渘ame鈥: 鈥渆s-ES-Standard-A鈥
}
}
}
}

Si les genera el siguiente problema

Each then() should return a value or throw // promise/always-return

para corregirlo deben agregar al final de la then()

return null