An unsite 10.2.5 customer is using Marketing. Their customers get an error, when they try to access the unsubscibe link.
How do I even start do debug this?
I notice that the token in the url doesn't match the corresponding row in the TemporaryKey table - is this normal?
Allt Svar (6)
Hi,
Is the domain the unsubscribe page is being accessed with the same domain as where SuperOffice runs under (and is configured in the service system settings)?
The hash is generated based on the domain that customer service runs under, so if there is a difference there the hash will fail.
See also reg_id 358 where you can specify additional domains to be allowed for the hash validation.
Hi Kasper, I just checked but if the token is invalid you get a different error, explaining that it is has expired, so the token generation / validation doesnt seem to be the issue.
Notice that you also get the same error if you provide a completely invalid token (https://crm.strandmollen.dk/Service/scripts/customer.fcgi?action=updateSubscriptionsFrame&tk=dummy&unsubscribe=1)
While it should look something like this;
Looks like their is something wrong with the communication between service and crm. Things to check:
- Service logs
- NetServer/CRM logs
- Does other communication between CRM/Service work correctly (CRMScript triggers in CRM for example)
- Do all the NetServer installation have the same SymmetricKey/SymmetricSecret setup (see web config)
- And do the one's in service config file match?
Got it to work.
Installed service from scratch in a seperate installation, and compared the template folder with the current 10.2.5.
2 files was missing from each language folder - updateSubscriptionFrame2.html and viewKbEntryNoCep.html.
I guess it is the second file missing that coursed the problem :).