koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
3.91k stars 237 forks source link

Can't link Alexa Cloud integration #1395

Closed skynet01 closed 3 months ago

skynet01 commented 3 months ago

I am having an issue where I can't connect Alexa cloud plugin (i am in USA west coast). This used to work correctly before. Now i get an error on the last step with "Unable to link the skill at this time, please try again later".

Thanks for your help

To Reproduce Steps to reproduce the behavior:

Expected behavior Linking Successful

Server (please complete the following information):

Client (please complete the following information, if applicable):

Additional context Alexa Cloud console log

linux arm64 #1 SMP Debian 6.1.55-1 (2023-09-29)
server version: 0.96.0
plugin version: @scrypted/alexa 0.3.1
full
########################
3/27/2024, 7:17:52 PM
########################
starting plugin @scrypted/alexa
node modules /server/volume/plugins/@scrypted/alexa/node20-linux-arm64-20240321
plugin loaded
{
  header: {
    namespace: 'System',
    name: 'Exception',
    messageId: '6183fd10-88b5-47c8-90dd-32f9fad87a73'
  },
  payload: {
    code: 'SKILL_DISABLED_EXCEPTION',
    description: 'The user does not have a valid enablement for your skill.'
  }
}
unhandledRejection TypeError: a is not iterable
    at h.saveEndpoints (/src/main.ts:361:33)
    at h.syncEndpoints (/src/main.ts:349:20)
    at process.this (node:internal/process/task_queues:95:5)
    at h.start (/src/main.ts:95:17)
unhandledRejection TypeError: Cannot read properties of undefined (reading 'includes')
    at h.deviceListen (/src/main.ts:153:56)
    at h.<anonymous> (/src/main.ts:93:22)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
unhandledRejection TypeError: Cannot read properties of undefined (reading 'includes')
    at h.deviceListen (/src/main.ts:153:56)
    at h.<anonymous> (/src/main.ts:93:22)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
unhandledRejection TypeError: Cannot read properties of undefined (reading 'includes')
    at h.deviceListen (/src/main.ts:153:56)
    at h.<anonymous> (/src/main.ts:93:22)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
unhandledRejection TypeError: Cannot read properties of undefined (reading 'includes')
    at h.deviceListen (/src/main.ts:153:56)
    at h.<anonymous> (/src/main.ts:93:22)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)