Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

213
Views
Firebase Cloud Function Finalizó con estado: tiempo de espera

Recibo el siguiente error en la consola Firebase: la ejecución de la función tomó 60015 ms. Terminado con estado: tiempo de espera.

Aquí está mi función de nube:

 exports.test = functions.https.onRequest((req, res) => { cors(req, res, () => { const Number = req.body.Number; return axios.post('https://ws.orias.fr/service?wsdl', getXMLNS(Number), { headers: { 'Content-Type': 'text/xml' }, }, ) .then((res) => { return res.status(200).send(res); }).catch((error) => (error) => { return res.status(500).send(error); }); }); });

Y así es como llamo a esta función de nube en mi interfaz ReactJS:

 fetch('https://xxx.cloudfunctions.net/test', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ Number: 'xxx', }) }).then(res => res.json()).then(body => alert(JSON.stringify(body)));
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!