-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.log
49 lines (49 loc) · 37.6 KB
/
error.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{"code":50035,"level":"error","message":"Failed to fetch new posts: Invalid Form Body\nchannel_id[NUMBER_TYPE_COERCE]: Value \"YOUR_CHANNEL_ID\" is not snowflake.","method":"GET","rawError":{"code":50035,"errors":{"channel_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value \"YOUR_CHANNEL_ID\" is not snowflake."}]}},"message":"Invalid Form Body"},"requestBody":{},"stack":"DiscordAPIError[50035]: Invalid Form Body\nchannel_id[NUMBER_TYPE_COERCE]: Value \"YOUR_CHANNEL_ID\" is not snowflake.\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async ChannelManager.fetch (C:\\Users\\isinc\\node_modules\\discord.js\\src\\managers\\ChannelManager.js:123:18)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:108:21)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:95:17)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:217:9)","status":400,"url":"https://discord.com/api/v10/channels/YOUR_CHANNEL_ID"}
{"code":50035,"level":"error","message":"Failed to fetch new posts: Invalid Form Body\nchannel_id[NUMBER_TYPE_COERCE]: Value \"YOUR_CHANNEL_ID\" is not snowflake.","method":"GET","rawError":{"code":50035,"errors":{"channel_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value \"YOUR_CHANNEL_ID\" is not snowflake."}]}},"message":"Invalid Form Body"},"requestBody":{},"stack":"DiscordAPIError[50035]: Invalid Form Body\nchannel_id[NUMBER_TYPE_COERCE]: Value \"YOUR_CHANNEL_ID\" is not snowflake.\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async ChannelManager.fetch (C:\\Users\\isinc\\node_modules\\discord.js\\src\\managers\\ChannelManager.js:123:18)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:108:21)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:95:17)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:217:9)","status":400,"url":"https://discord.com/api/v10/channels/YOUR_CHANNEL_ID"}
{"code":50035,"level":"error","message":"Failed to fetch new posts: Invalid Form Body\nchannel_id[NUMBER_TYPE_COERCE]: Value \"YOUR_CHANNEL_ID\" is not snowflake.","method":"GET","rawError":{"code":50035,"errors":{"channel_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value \"YOUR_CHANNEL_ID\" is not snowflake."}]}},"message":"Invalid Form Body"},"requestBody":{},"stack":"DiscordAPIError[50035]: Invalid Form Body\nchannel_id[NUMBER_TYPE_COERCE]: Value \"YOUR_CHANNEL_ID\" is not snowflake.\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async ChannelManager.fetch (C:\\Users\\isinc\\node_modules\\discord.js\\src\\managers\\ChannelManager.js:123:18)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:108:21)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:95:17)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:217:9)","status":400,"url":"https://discord.com/api/v10/channels/YOUR_CHANNEL_ID"}
{"level":"error","message":"Failed to fetch new posts:"}
{"level":"error","message":"Failed to fetch new posts:"}
{"code":50035,"level":"error","message":"Failed to fetch new posts: Invalid Form Body\nembeds[0].image[MODEL_TYPE_CONVERT]: Expected an object/dictionary.","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"image":{"_errors":[{"code":"MODEL_TYPE_CONVERT","message":"Expected an object/dictionary."}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"color":16729344,"description":"[Link to post](https://i.redd.it/sthrpj1k9zpd1.png)","fields":[],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":"https://i.redd.it/sthrpj1k9zpd1.png","title":"Who wins?","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fldwww/who_wins/"}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].image[MODEL_TYPE_CONVERT]: Expected an object/dictionary.\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (file:///C:/Users/isinc/Reddit_Notify/index.mjs:84:24)\n at async Job.fetchNewPosts [as job] (file:///C:/Users/isinc/Reddit_Notify/index.mjs:114:13)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"level":"error","message":"Failed to fetch new posts:"}
{"level":"error","message":"Failed to fetch new posts:"}
{"level":"error","message":"Failed to fetch new posts:"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":null,"embed":{"color":16729344,"description":"https://preview.redd.it/4k7o8kht96qd1.jpg?width=974&format=pjpg&auto=webp&s=eb72b5823887f184d3229073a2326b685e4ae12c\n\nhttps://preview.redd.it/6aulbm4u96qd1.jpg?width=973&format=pjpg&auto=webp&s=3fc920fc242b87eaebbcfe35e098396dee7e6559\n\nhttps://preview.redd.it/0od8jbpu96qd1.jpg?width=975&format=pjpg&auto=webp&s=7974e3bb823bbce45a5e766ac4b1791bed0621a6\n\nhttps://preview.redd.it/46wcf90v96qd1.jpg?width=974&format=pjpg&auto=webp&s=9c1e58531e450e95d35bdee69150d4b4151e107b\n\n[https://www.youtube.com/watch?v=Ht5NmRtWb88](https://www.youtube.com/watch?v=Ht5NmRtWb88)\n","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":null,"title":"Mighty Morphim Video Nerd Jerk Thread","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm4b3g/mighty_morphim_video_nerd_jerk_thread/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:299:9)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":null,"embed":{"color":16729344,"description":"https://preview.redd.it/4k7o8kht96qd1.jpg?width=974&format=pjpg&auto=webp&s=eb72b5823887f184d3229073a2326b685e4ae12c\n\nhttps://preview.redd.it/6aulbm4u96qd1.jpg?width=973&format=pjpg&auto=webp&s=3fc920fc242b87eaebbcfe35e098396dee7e6559\n\nhttps://preview.redd.it/0od8jbpu96qd1.jpg?width=975&format=pjpg&auto=webp&s=7974e3bb823bbce45a5e766ac4b1791bed0621a6\n\nhttps://preview.redd.it/46wcf90v96qd1.jpg?width=974&format=pjpg&auto=webp&s=9c1e58531e450e95d35bdee69150d4b4151e107b\n\n[https://www.youtube.com/watch?v=Ht5NmRtWb88](https://www.youtube.com/watch?v=Ht5NmRtWb88)\n","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":null,"title":"Mighty Morphim Video Nerd Jerk Thread","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm4b3g/mighty_morphim_video_nerd_jerk_thread/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async Job.fetchNewPosts [as job] (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":{"components":[{"custom_id":"prev_media","disabled":true,"label":"Previous","style":1,"type":2},{"custom_id":"next_media","disabled":false,"label":"Next","style":1,"type":2}],"type":1},"embed":{"color":16729344,"description":"[Link to post](https://www.reddit.com/gallery/1fm5yk3)\nThis post contains multiple media items. Currently viewing item 1/3.","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":{"url":"https://preview.redd.it/rbx6wkz9o6qd1.jpg?width=948&format=pjpg&auto=webp&s=688fc1e6964530c1c425cc65b616b8a909286268"},"title":"Who’s winning this one?","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm5yk3/whos_winning_this_one/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async Job.fetchNewPosts [as job] (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":{"components":[{"custom_id":"prev_media","disabled":true,"label":"Previous","style":1,"type":2},{"custom_id":"next_media","disabled":false,"label":"Next","style":1,"type":2}],"type":1},"embed":{"color":16729344,"description":"[Link to post](https://www.reddit.com/gallery/1fm5yk3)\nThis post contains multiple media items. Currently viewing item 1/3.","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":{"url":"https://preview.redd.it/rbx6wkz9o6qd1.jpg?width=948&format=pjpg&auto=webp&s=688fc1e6964530c1c425cc65b616b8a909286268"},"title":"Who’s winning this one?","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm5yk3/whos_winning_this_one/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async Job.fetchNewPosts [as job] (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":{"components":[{"custom_id":"prev_media","disabled":true,"label":"Previous","style":1,"type":2},{"custom_id":"next_media","disabled":false,"label":"Next","style":1,"type":2}],"type":1},"embed":{"color":16729344,"description":"[Link to post](https://www.reddit.com/gallery/1fm5yk3)\nThis post contains multiple media items. Currently viewing item 1/3.","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":{"url":"https://preview.redd.it/rbx6wkz9o6qd1.jpg?width=948&format=pjpg&auto=webp&s=688fc1e6964530c1c425cc65b616b8a909286268"},"title":"Who’s winning this one?","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm5yk3/whos_winning_this_one/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:299:9)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":{"components":[{"custom_id":"prev_media","disabled":true,"label":"Previous","style":1,"type":2},{"custom_id":"next_media","disabled":false,"label":"Next","style":1,"type":2}],"type":1},"embed":{"color":16729344,"description":"[Link to post](https://www.reddit.com/gallery/1fm5yk3)","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":{"url":"https://preview.redd.it/rbx6wkz9o6qd1.jpg?width=948&format=pjpg&auto=webp&s=688fc1e6964530c1c425cc65b616b8a909286268"},"title":"Who’s winning this one?","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm5yk3/whos_winning_this_one/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:284:9)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":{"components":[{"custom_id":"prev_media","disabled":true,"label":"Previous","style":1,"type":2},{"custom_id":"next_media","disabled":false,"label":"Next","style":1,"type":2}],"type":1},"embed":{"color":16729344,"description":"[Link to post](https://www.reddit.com/gallery/1fm5yk3)","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":{"url":"https://preview.redd.it/rbx6wkz9o6qd1.jpg?width=948&format=pjpg&auto=webp&s=688fc1e6964530c1c425cc65b616b8a909286268"},"title":"Who’s winning this one?","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm5yk3/whos_winning_this_one/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:272:9)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":{"components":[{"custom_id":"prev_media","disabled":true,"label":"Previous","style":1,"type":2},{"custom_id":"next_media","disabled":false,"label":"Next","style":1,"type":2}],"type":1},"embed":{"color":16729344,"description":"[Link to post](https://www.reddit.com/gallery/1fm5yk3)","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":{"url":"https://preview.redd.it/rbx6wkz9o6qd1.jpg?width=948&format=pjpg&auto=webp&s=688fc1e6964530c1c425cc65b616b8a909286268"},"title":"Who’s winning this one?","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm5yk3/whos_winning_this_one/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:272:9)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required","method":"POST","rawError":{"code":50035,"errors":{"embeds":{"0":{"description":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}},"message":"Invalid Form Body"},"requestBody":{"files":[],"json":{"components":[{"components":[{"custom_id":"previous_post","label":"Previous","style":1,"type":2},{"custom_id":"next_post","label":"Next","style":1,"type":2},{"custom_id":"show_comments","label":"Comments","style":1,"type":2}],"type":1}],"embeds":[{"action_row":{"components":[{"custom_id":"prev_media","disabled":true,"label":"Previous","style":1,"type":2},{"custom_id":"next_media","disabled":false,"label":"Next","style":1,"type":2}],"type":1},"embed":{"color":16729344,"description":"[Link to post](https://www.reddit.com/gallery/1fm5yk3)","fields":[{"name":"Top Comment","value":"No comments yet."}],"footer":{"text":"Posted in r/whowouldcirclejerk"},"image":{"url":"https://preview.redd.it/rbx6wkz9o6qd1.jpg?width=948&format=pjpg&auto=webp&s=688fc1e6964530c1c425cc65b616b8a909286268"},"title":"Who’s winning this one?","url":"https://reddit.com/r/whowouldcirclejerk/comments/1fm5yk3/whos_winning_this_one/"}}],"enforce_nonce":false,"tts":false}},"stack":"DiscordAPIError[50035]: Invalid Form Body\nembeds[0].description[BASE_TYPE_REQUIRED]: This field is required\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async TextChannel.send (C:\\Users\\isinc\\node_modules\\discord.js\\src\\structures\\interfaces\\TextBasedChannel.js:177:15)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:106:28)\n at async Job.fetchNewPosts [as job] (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)","status":400,"url":"https://discord.com/api/v10/channels/1271589750725279817/messages"}
{"level":"error","message":"Error fetching comments: Cannot read properties of undefined (reading 'id')","stack":"TypeError: Cannot read properties of undefined (reading 'id')\n at showTopComments (C:\\Users\\isinc\\Reddit_Notify\\index.js:212:60)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:201:9)"}
{"code":50035,"level":"error","message":"Error sending post embed: Invalid Form Body\nchannel_id[NUMBER_TYPE_COERCE]: Value \"YOUR_CHANNEL_ID\" is not snowflake.","method":"GET","rawError":{"code":50035,"errors":{"channel_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value \"YOUR_CHANNEL_ID\" is not snowflake."}]}},"message":"Invalid Form Body"},"requestBody":{},"stack":"DiscordAPIError[50035]: Invalid Form Body\nchannel_id[NUMBER_TYPE_COERCE]: Value \"YOUR_CHANNEL_ID\" is not snowflake.\n at handleErrors (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:727:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1128:23)\n at async SequentialHandler.queueRequest (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:959:14)\n at async _REST.request (C:\\Users\\isinc\\node_modules\\@discordjs\\rest\\dist\\index.js:1272:22)\n at async ChannelManager.fetch (C:\\Users\\isinc\\node_modules\\discord.js\\src\\managers\\ChannelManager.js:123:18)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:105:25)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:252:9)","status":400,"url":"https://discord.com/api/v10/channels/YOUR_CHANNEL_ID"}
{"level":"error","message":"Error sending post embed: post.media_metadata.map is not a function","stack":"TypeError: post.media_metadata.map is not a function\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:121:41)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:104:23)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:265:9)"}
{"level":"error","message":"Error sending post embed: post.media_metadata.map is not a function","stack":"TypeError: post.media_metadata.map is not a function\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:121:41)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:104:23)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:265:9)"}
{"level":"error","message":"Error sending post embed: post.media_metadata.map is not a function","stack":"TypeError: post.media_metadata.map is not a function\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:121:41)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:104:23)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:257:13)"}
{"level":"error","message":"Error sending post embed: post.media_metadata.map is not a function","stack":"TypeError: post.media_metadata.map is not a function\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:121:41)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:104:23)\n at async Job.fetchNewPosts [as job] (C:\\Users\\isinc\\Reddit_Notify\\index.js:94:13)"}
{"level":"error","message":"Error sending post embed: post.media_metadata.map is not a function","stack":"TypeError: post.media_metadata.map is not a function\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:126:41)\n at async sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:109:23)\n at async fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:97:13)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:262:13)"}
{"level":"error","message":"Error sending post embed: embed is not defined","stack":"ReferenceError: embed is not defined\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:123:35)\n at sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:109:29)\n at fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:97:19)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:266:13)"}
{"level":"error","message":"Error sending post embed: embed is not defined","stack":"ReferenceError: embed is not defined\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:123:35)\n at sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:109:29)\n at Job.fetchNewPosts [as job] (C:\\Users\\isinc\\Reddit_Notify\\index.js:97:19)"}
{"cause":{"code":"ENOTFOUND","errno":-3008,"hostname":"www.reddit.com","syscall":"getaddrinfo"},"error":{"code":"ENOTFOUND","errno":-3008,"hostname":"www.reddit.com","syscall":"getaddrinfo"},"level":"error","message":"Error fetching new posts: Error: getaddrinfo ENOTFOUND www.reddit.com","name":"RequestError","options":{"auth":{"pass":"XUtsVQpNWDGWbf2Et9d_bDTb8LDEUg","user":"YxJbNJzyFob6t3FZMLufKw"},"baseUrl":"https://www.reddit.com","form":{"grant_type":"refresh_token","refresh_token":"57192501448737-His54m1mFdUujl_aR7o3A8MsK7422g"},"gzip":true,"headers":{"user-agent":"DiscordRedditBot"},"json":true,"method":"POST","resolveWithFullResponse":false,"simple":true,"transform2xxOnly":false,"uri":"api/v1/access_token"},"stack":"RequestError: Error: getaddrinfo ENOTFOUND www.reddit.com\n at new RequestError (C:\\Users\\isinc\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n at plumbing.callback (C:\\Users\\isinc\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n at Request.RP$callback [as _callback] (C:\\Users\\isinc\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n at self.callback (C:\\Users\\isinc\\node_modules\\request\\request.js:185:22)\n at Request.emit (node:events:519:28)\n at Request.onRequestError (C:\\Users\\isinc\\node_modules\\request\\request.js:877:8)\n at ClientRequest.emit (node:events:519:28)\n at TLSSocket.socketErrorListener (node:_http_client:500:9)\n at TLSSocket.emit (node:events:519:28)\n at emitErrorNT (node:internal/streams/destroy:169:8)\n at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
{"level":"error","message":"Error sending post embed: embed is not defined","stack":"ReferenceError: embed is not defined\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:123:35)\n at sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:109:29)\n at Job.fetchNewPosts [as job] (C:\\Users\\isinc\\Reddit_Notify\\index.js:97:19)"}
{"level":"error","message":"Error sending post embed: embed is not defined","stack":"ReferenceError: embed is not defined\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:123:35)\n at sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:109:29)\n at Job.fetchNewPosts [as job] (C:\\Users\\isinc\\Reddit_Notify\\index.js:97:19)"}
{"level":"error","message":"Error sending post embed: embed is not defined","stack":"ReferenceError: embed is not defined\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:123:35)\n at sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:109:29)\n at fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:97:19)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:266:13)"}
{"level":"error","message":"Error sending post embed: embed is not defined","stack":"ReferenceError: embed is not defined\n at createEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:123:35)\n at sendPostEmbed (C:\\Users\\isinc\\Reddit_Notify\\index.js:109:29)\n at fetchNewPosts (C:\\Users\\isinc\\Reddit_Notify\\index.js:97:19)\n at async Client.<anonymous> (C:\\Users\\isinc\\Reddit_Notify\\index.js:266:13)"}
{"error":500,"level":"error","message":"Failed to refresh access token: Internal Server Error"}
{"level":"error","message":"Failed to fetch new posts:"}
{"error":500,"level":"error","message":"Failed to refresh access token: Internal Server Error"}
{"level":"error","message":"Failed to fetch new posts:"}
{"error":500,"level":"error","message":"Failed to refresh access token: Internal Server Error"}
{"level":"error","message":"Failed to fetch new posts:"}
{"error":500,"level":"error","message":"Failed to refresh access token: Internal Server Error"}
{"level":"error","message":"Failed to fetch new posts:"}
{"error":500,"level":"error","message":"Failed to refresh access token: Internal Server Error"}
{"level":"error","message":"Failed to fetch new posts:"}
{"error":500,"level":"error","message":"Failed to refresh access token: Internal Server Error"}
{"level":"error","message":"Failed to fetch new posts:"}
{"error":500,"level":"error","message":"Failed to refresh access token: Internal Server Error"}
{"level":"error","message":"Failed to fetch new posts:"}
{"level":"error","message":"Failed to fetch new posts:"}
{"level":"error","message":"Failed to refresh access token:"}
{"level":"error","message":"Failed to fetch new posts:"}