Survey Error - Invalid survey key.

Moderator: crythias

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

Survey Error - Invalid survey key.

Post by Volverine87 » 08 Feb 2018, 12:02

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
OTRS newbie
Posts: 33
Joined: 14 Nov 2017, 15:19
OTRS Version?: OTRS 5.0.20
Real Name: Rafal
Company: UKWSL

Re: Survey Error - Invalid survey key.

Post by Volverine87 » 08 Feb 2018, 17:09

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
Moderator
Posts: 1163
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: Survey Error - Invalid survey key.

Post by root » 09 Feb 2018, 07:57

Hi,

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

-Roy
OTRS 4/5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

You need professional services? Check out http://znuny.com/

Post Reply