Failed deployment in render

i tried to deploying my whatsapp AI chatbot integrated with OpenAI API based on node js.
i dont know what i am doing wrong but the deployment is failing. Though it works perfectly when i run it locally. Here is the log of the deployment:
Jan 22 10:18:16 PM Bot success conneted to server
Jan 22 10:18:16 PM Closing open session in favor of incoming prekey bundle
Jan 22 10:18:16 PM Closing session: SessionEntry {
Jan 22 10:18:16 PM _chains: {
Jan 22 10:18:16 PM ‘Be9l9Ldvl81rhxlNzv4JOUit/y9feOX2cIY3aVQuWGg4’: { chainKey: [Object], chainType: 1, messageKeys: {} }
Jan 22 10:18:16 PM },
Jan 22 10:18:16 PM registrationId: 1981289101,
Jan 22 10:18:16 PM currentRatchet: {
Jan 22 10:18:16 PM ephemeralKeyPair: {
Jan 22 10:18:16 PM pubKey: <Buffer 05 ef 65 f4 b7 6f 97 cd 6b 87 19 4d ce fe 09 39 48 ad ff 2f 5f 78 e5 f6 70 86 37 69 54 2e 58 68 38>,
Jan 22 10:18:16 PM privKey: <Buffer f0 d4 13 47 c4 7e 6f cd 08 9c 04 eb 64 c7 bf 1b 8f 71 da 63 55 99 d0 82 dc 62 04 08 dc 69 4a 7d>
Jan 22 10:18:16 PM },
Jan 22 10:18:16 PM lastRemoteEphemeralKey: <Buffer 05 4f b0 b5 41 8d 26 5c 6f 45 c7 c3 25 bd ef fb 35 2f 1f 6c 77 ce d9 79 14 f5 74 dc f6 89 64 ce 41>,
Jan 22 10:18:16 PM previousCounter: 0,
Jan 22 10:18:16 PM rootKey: <Buffer 93 c2 c8 dc 1e 45 4e f3 78 c5 82 ab 0d ec f6 0d 82 fe 25 d3 5a 08 9e b3 ae 07 8b 50 d8 2d 0e e6>
Jan 22 10:18:16 PM },
Jan 22 10:18:16 PM indexInfo: {
Jan 22 10:18:16 PM baseKey: <Buffer 05 0f 1d b0 79 a0 35 b6 29 ca 88 ea 93 63 aa 51 6e 79 39 c9 46 31 ed b8 69 8c 89 a2 ca 8a c7 77 0a>,
Jan 22 10:18:16 PM baseKeyType: 1,
Jan 22 10:18:16 PM closed: -1,
Jan 22 10:18:16 PM used: 1674406096464,
Jan 22 10:18:16 PM created: 1674406096464,
Jan 22 10:18:16 PM remoteIdentityKey: <Buffer 05 8e aa f5 8f 47 b0 a0 35 f1 23 a5 71 03 af 9f 3d e9 3a 69 13 00 03 df 31 17 77 21 6c 40 15 19 17>
Jan 22 10:18:16 PM },
Jan 22 10:18:16 PM pendingPreKey: {
Jan 22 10:18:16 PM signedKeyId: 0,
Jan 22 10:18:16 PM baseKey: <Buffer 05 0f 1d b0 79 a0 35 b6 29 ca 88 ea 93 63 aa 51 6e 79 39 c9 46 31 ed b8 69 8c 89 a2 ca 8a c7 77 0a>,
Jan 22 10:18:16 PM preKeyId: 1136569
Jan 22 10:18:16 PM }
Jan 22 10:18:16 PM }
Jan 22 10:18:16 PM Decrypted message with closed session.
Jan 22 10:18:17 PM Decrypted message with closed session.
Jan 22 10:18:17 PM Decrypted message with closed session.
Jan 22 10:18:17 PM Decrypted message with closed session.
Jan 22 10:18:18 PM Decrypted message with closed session.
Jan 22 10:18:18 PM Decrypted message with closed session.

Hi there,

Bots usually need to run on Background Workers. Web Services are for serving web content.

Alan