aws-samples / aws-serverless-connect-wallboard

Sample code for building a serverless wallboard for Amazon Connect.
MIT No Attribution
28 stars 18 forks source link

InstanceId failing #9

Open ThiagoM9 opened 2 years ago

ThiagoM9 commented 2 years ago

Even cross-checking more than three times, the queueid provided still crashes, stating that it might be wrong. fun fact, I've used three different queue id, from the same instance, 1 of 3 works .

Yaml file looks like the example source file:

Sources:

Error message: ContactsInQueue: The QueueId may be incorrect: [Queue id reference number]

Brettles commented 2 years ago

The import code tries to enumerate the queues using the instance id provided in the configuration file (see line 123 in wallboard-import.py). I've added an extra print statement so that it will show the exception rather than just saying that it may be incorrect. That will help you debug why that call is failing.

It could be failing because of a permissions problem - your local credentials may not have access to enumerate Connect objects. That's ok - even if the call fails the identifiers will still be put into the configuration in the database; the warning is there just in case they are actually incorrect.