Read the statement by Michael Teeuw here.
MMM Google Photos error
-
1.12.2021 23:16.00.533] [ERROR] (node:2556) UnhandledPromiseRejectionWarning: Error: Request failed with status code 403
at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15)
at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Useelectron --trace-warnings ...
to show where the warning was created)
[21.12.2021 23:16.00.534] [ERROR] (node:2556) 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: 2)
[21.12.2021 23:16.00.535] [ERROR] (node:2556) [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.modules: [
{
module: “MMM-GooglePhotos”,
position: “fullscreen_below”,
config: {
albums: [“MagicMirror”], // Set your album name. like [“My wedding”, “family share”, “Travle to Paris”]
updateInterval: 1000 * 60, // minimum 10 seconds.
sort: “new”, // “old”, “random”
uploadAlbum: null, // Only album created bycreate_uploadable_album.js
.
condition: {
fromDate: null, // Or “2018-03”, RFC … format available
toDate: null, // Or “2019-12-25”,
minWidth: null, // Or 400
maxWidth: null, // Or 8000
minHeight: null, // Or 400
maxHeight: null, // Or 8000
minWHRatio: null,
maxWHRatio: null,
// WHRatio = Width/Height ratio ( ==1 : Squared Photo, < 1 : Portraited Photo, > 1 : Landscaped Photo)
},
showWidth: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
showHeight: 1920,
timeFormat: “YYYY/MM/DD HH:mm”, // Orrelative
can be used.
}
}, -
@sultan-y said in MMM Google Photos error:
Request failed with status code 403
at createErroryou are getting a permission denied 403 error
from google -
i think i fixed the access but now i get a 503 error
22.12.2021 22:51.16.328] [LOG] /nodehelper/get translation with statuscode-200
[22.12.2021 22:51.16.335] [LOG] /nodehelper/get arabic with statuscode-200
[22.12.2021 22:51.16.338] [LOG] /nodehelper/result-An-Naml:77
[22.12.2021 22:51.16.357] [LOG] 200[object Object]
[22.12.2021 22:51.17.516] [ERROR] (node:4593) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15)
at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Useelectron --trace-warnings ...
to show where the warning was created)
[22.12.2021 22:51.17.523] [ERROR] (node:4593) 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: 2)
[22.12.2021 22:51.17.526] [ERROR] (node:4593) [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. -
apparently i just needed to be patient, it needed to propagate
now its working
howevver the clokc and some other apps have disappeared
is there a way to have it be in the background, so i can see my clock and calendar?
-
@sultan-y
Which position did you put the module into? set the positionfullscreen_below
.