Surveys in Service Portal : Something went wrong, please try again later.

Gwen Vanderhaeg
Kilo Expert

Hey all,

I have setup the Survey widgets in our Service Portal and it all looks cool...But sadly end-users are unable to submit a survey. Error: Something went wrong. Please try again later.
When I do this with my own user, who is admin, I have no problems.
So I would guess this is a permissions issue.

find_real_file.png

Has anyone had this issue before? Suggestions?

This is on Istanbul Patch 5 Hotfix1

Thanks in advance!

Gwen

1 ACCEPTED SOLUTION

Hi Gwen



The code seems fine.


The only thing that probably would try but I don't guarantee the result is to change the url from



url: 'sp_survey.do',


to


url: '/sp_survey.do',



Let me know if this changes anything



Cheers


R0b0


View solution in original post

8 REPLIES 8

Hi R0b0,


It works for me.



I clone "Take Survey" widget and change url 'sp_survey.do' to '/sp_survey.do'


c.submitAjax = function(formdata) {
      $http({
              method: 'POST',
              url: 'sp_survey.do',
              data: formdata,
              headers: {
                      'Content-Type': 'application/x-www-form-urlencoded'
              }
      })


Hi Robert



Thank you . Glad to help.


Quick request..do you mind to endorse my answer.


Maybe this can be also useful for someone else as well



Cheers


R0b0


Hi R0b0,



Not a clue why but I tried it again now, 2 weeks later, and now it does work


Guess I was not "at my best" when I first tried haha.



Gwen


Just dropping by to say I had the EXACT same issue with our Take Survey widget. I cloned it and made the change r0b0_d3vil suggested and it worked for me as well. Thanks!