Survey Error - Invalid survey key.

Moderator: crythias

Post Reply
Volverine87
Znuny newbie
Posts: 40
Joined: 14 Nov 2017, 15:19
Znuny Version: OTRS 5.0.20
Real Name: Rafal
Company: UKWSL

Survey Error - Invalid survey key.

Post by Volverine87 »

Hi All,
I have tested survey module on test1 and test2 didnt had any issue. but as soon as I install module to Live system and created first survey to test on live i receive this error

Survey Error!


Invalid survey key.

The inserted survey key is invalid, if you followed a link maybe this is obsolete or broken.

the link in email a receive from otrs doesnt contain unique PublicSurveyID for some reason:
http://...../otrs/public.pl?Action=PublicSurvey;PublicSurveyKey=<OTRS_PublicSurveyKey>
comparing from test system it was look like:
http://..../otrs/public.pl?Action=PublicSurvey;PublicSurveyKey=5548eacc4ef892baa10ebcb1f57a25a8

I already tried reinstall the package.
Then tried uninstall it and install again, when i kill all the session on system. but that didnt fix it.
Is it require system restart or mysql restart?
What did i missed or whats go wrong... all suggestion will be welcome.
Last edited by Volverine87 on 08 Feb 2018, 17:25, edited 1 time in total.
Volverine87
Znuny newbie
Posts: 40
Joined: 14 Nov 2017, 15:19
Znuny Version: OTRS 5.0.20
Real Name: Rafal
Company: UKWSL

Re: Survey Error - Invalid survey key.

Post by Volverine87 »

Found the solution,
can't believe it was so simple I will post it just in case someone else will be stop by it:

So on survey it self on the body of email i changed manually FQDN to our website name where otrs is hosted so the link will work for external customers, but for some reason http address became highlighted as a link without ending ">"

so example:

"http://my.webpage.com/otrs/public.pl?Ac ... cSurveyKey>"

when actually i should stay as plain text or whole url

"http://my.webpage.com/otrs/public.pl?Ac ... SurveyKey>"

Without ">" on end of URL OTRS couldnt apply PublicSurveyKey as didnt seen the end of string.

Hope that will help other.

Thanks
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Survey Error - Invalid survey key.

Post by root »

Hi,

That's why there is a tag like <OTRS_CONFIG_FQDN> and a SysConfig to configure the FQDN.

-Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply