· 6 years ago · Mar 07, 2020, 10:08 PM
1? (node:15468) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token in JSON at position 0
2? at JSON.parse ()
3? at read (eval at Actions.eval (C:\Users\sheed\Empire Bot\Empire Central\Empire Central\bot.js:335:10), :54:31)
4? at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
5? (node:15468) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
6? (node:15468) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
7?
8> false
9? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
10?
11> false
12? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
13?
14> false
15? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
16?
17> false
18? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
19?
20> false
21? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
22?
23> false
24? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
25?
26> false
27> false
28? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
29? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
30?
31> false
32> false
33? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
34? WebAPI: Error: undefined NO JSON data returned. Check the URL: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=https://www.youtube.com/watch?v=l0U7SxXHkPY&key=[My api key]
35?
36? Error with Event "Add Embed Field", Action #12:
37? RangeError: RichEmbed field values may not exceed 1024 characters.