01-24-2016 04:09 AM
I am relatively new to Finesse.
I am building a new Widget which resides on a separate server.
I took the SampleGadget demo from the Finesse web site and I have a problem with V 11.0 which I work with.
I added to the creation of User an error handler:
user = new finesse.restservices.User({
id: id,
onLoad : handleUserLoad,
onChange : handleUserChange,
onError: handleUserError
});
And when I run, I receive the following error:
LearningSampleGadget : Handle User Error start concat:15999:17
LearningSampleGadget : Error-Status:401 concat:15999:17
Error-content:...... This request requires HTTP authentication. .......
Seems as I miss Authentication.
Therefore I tried a few things:
- I checked the value of '_prefs.getString("authorization")' and it's empty. So I create it using 'finesse.gadget.Config.authorization = btoa(id + ":" + my_password);'. Still 401
- I also noticed that remoteHost points to localhost so I changed it to the Finesse host. Still 401
- I wanted to turn on the internal logs of finesse.js and I was not successful (any one knows how to do it?)
I appreciate any help.
Solved! Go to Solution.
03-15-2016 08:50 PM - edited 03-05-2021 10:07 AM
The sample gadget for 11.0 with updated instructions has been posted: https://github.com/CiscoDevNet/finesse-sample-code/tree/master/LearningSampleGadget
Sorry for the long delay, the process of making the change and posting it to the site took longer than I expected.
Let me know if you have any issues with this sample gadget.
02-22-2016 11:47 AM
You might want to make sure your SSL certificates are installed on all the Finesse servers. If you are using SSL. This could lead to your 401 issue.
Could out outline the details of how you access your gadget?
02-25-2016 04:21 PM
Which sample gadget are you using? The learning sample gadget? Also, are you using UCCE or UCCX?
The gadgets on the Finesse website are for 10.5 and updates are needed for 11.0. I recently fixed the learning sample gadget for 11.0, but have not posted it to the site yet.
02-26-2016 07:11 PM
Denise,
You are correct. I am using the 10.5 sample on 11.0. Can you please send me the new sample? I will check and let you know if it fixes the problem.
Gibi
02-26-2016 09:40 PM
Hi,
I am aiming to post the sample gadget for 11.0 sometime next week. I will let you know when it is posted.
Thanx,
Denise
03-15-2016 08:50 PM - edited 03-05-2021 10:07 AM
The sample gadget for 11.0 with updated instructions has been posted: https://github.com/CiscoDevNet/finesse-sample-code/tree/master/LearningSampleGadget
Sorry for the long delay, the process of making the change and posting it to the site took longer than I expected.
Let me know if you have any issues with this sample gadget.
03-22-2016 09:51 AM
Hi,
Just wondering if you had a chance to use the latest version of the Sample Gadget. If so, is this still an issue?
Thanx,
Denise
03-23-2016 07:26 PM
Hi Denise
Sorry, not yet. Hoping to get to it next week.
I'll keep you posted.
Thanks for your help
Gibi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide