Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Invalid Token

Invalid Token 4 years 10 months ago #65596

  • ellie
  • ellie's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
I have created a survey, activated it and created tokens for 4 email addresses to do testing. I have tried to send emails to the individuals with the tokens assigned and when I click send invitations I receive notification that the invitations have been delayed because the tokens are not yet valid. However, I can access the survey using the display tokens icon and click on the answer survey icon against the token assigned next to my name (have organised for it to be sent to myself)

I have checked:
- that the token is activated during the time period.
- that the server time is adjusted to reflect the time where I am located i.e. Melbourne, Australia but I cannot all to no avail. help please!!!

is it that there is a delay between creating a token and it becoming usable or am I doing something extremely wrong?

any help would be fantastic!!! thank.
The administrator has disabled public write access.

Invalid Token 4 years 10 months ago #65659

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6140
  • Thank you received: 1363
  • Karma: 535
There should be no delay. Can you give a screenshot of the token table?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Invalid Token 4 years 10 months ago #65869

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5974
  • Thank you received: 366
  • Karma: 260
ellie wrote:
is it that there is a delay between creating a token and it becoming usable or am I doing something extremely wrong?

any help would be fantastic!!! thank.
Can you quote the exact error message? I have never heard of such an issue before.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Invalid Token 3 years 4 months ago #93444

  • mas_carpone
  • mas_carpone's Avatar
  • Offline
  • Gold Lime
  • Posts: 187
  • Thank you received: 14
  • Karma: 3
Hi All,

I have come across this discussion as I ran into the same error message today.
This (in my case) was linked to the start date defined in the token. The survey was to start on the 10th, yet I wanted to share the instructions and link (in the invitation) today (the 8th).

Switched the start date back to today and the invitation went out perfectly fine!
Last Edit: 3 years 4 months ago by mas_carpone.
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125857

  • mas_carpone
  • mas_carpone's Avatar
  • Offline
  • Gold Lime
  • Posts: 187
  • Thank you received: 14
  • Karma: 3
Hi Folks!

Have come across this error message again:

Email to XX (This email address is being protected from spambots. You need JavaScript enabled to view it.) delayed: Token is not yet valid. but with the final message that: All emails were sent.
I have tried to send them out now, but would want the tokens to be valid only as off sunday (it's for a test people shouldn't be able to access before that)

Any idea what as actually happened (messages a contradictory - have emails been sent?) ?
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125862

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5063
  • Thank you received: 749
  • Karma: 227
So let us get this straight:

-You have a token list
-You sent the emails with the token already
-However, the token is only valid from Sunday onwards.
-While sending the messages, you got an error message, saying "Email to XX (This email address is being protected from spambots. You need JavaScript enabled to view it.) delayed: Token is not yet valid"

Is this what happened?

Now some questions: this error message appeared for ALL emails, for some of them or only for one?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.
The following user(s) said Thank You: mas_carpone

Invalid Token 10 months 1 week ago #125893

  • mas_carpone
  • mas_carpone's Avatar
  • Offline
  • Gold Lime
  • Posts: 187
  • Thank you received: 14
  • Karma: 3
Hi Holch,

Yes that's correct and yes, the message was returned for all emails.
I thought the system might hold the invitation back and send them automaticaly later (at the start date/time of the token). I've tested but it did not happen.
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125903

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5974
  • Thank you received: 366
  • Karma: 260
mas_carpone wrote:
I thought the system might hold the invitation back and send them automaticaly later (at the start date/time of the token). I've tested but it did not happen.
There is no feature to auto-send emails at a certain time. For technical reasons the action of sending an email always requires user interaction (= clicking a button). The only other alternative is using cron jobs to schedule email sending, see www.limesurvey-templates.com/automatical...nvitations-p-49.html.

Is there an "invitation sent" date set at the token overview?

If so, please test again by creating a dummy token which uses your email address. I assume the system will send the email though the token is not valid yet but please test.

Anyway, we should think about a better warning message. Maybe showing a warning about token valid date before actually sending the emails?!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125911

  • mas_carpone
  • mas_carpone's Avatar
  • Offline
  • Gold Lime
  • Posts: 187
  • Thank you received: 14
  • Karma: 3
I have tested and the system does not send the invitation at all (and the value "Invitation sent" rightly stays at "N").

Agree that the message is misleading (goves an error but also saiys "emails sent"), but more generally wouldn't it be better if participants could be invited before the actual start date of a survey? That way they have time to look at instructions, etc.
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125915

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5063
  • Thank you received: 749
  • Karma: 227
I personally would avoid sending invitations BEFORE the survey is online. Why? Your best chance that people complete the survey is when they open the survey and directly go into it.

Reading instructions beforehand? Probably a nice wish rather than reality. ;-)

Most people will open the survey, see the link, go for the link, see the token is not yet valid and leave. They probably never come back, even if they innitially wanted to. They'll simply forget it. So this means another reminder email.

Some might even think they did something wrong or there is something wrong with the survey.

So I would rather give them a little bit more time to read everything and complete the survey, rather than sending out a link that is not yet accessible. This might work with "high envolvement" respondents, but even there I have my doubts.

But this is just an addition. Of course the system should be clear about what is happening.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Last Edit: 10 months 1 week ago by holch.
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125929

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5974
  • Thank you received: 366
  • Karma: 260
mas_carpone wrote:
I have tested and the system does not send the invitation at all (and the value "Invitation sent" rightly stays at "N").

Agree that the message is misleading (goves an error but also saiys "emails sent"), but more generally wouldn't it be better if participants could be invited before the actual start date of a survey?
I agree that the system should send emails and should show a warning before that.
Please file a bug report at the bugtracker and post the link here. I will then take care of it.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125966

  • mas_carpone
  • mas_carpone's Avatar
  • Offline
  • Gold Lime
  • Posts: 187
  • Thank you received: 14
  • Karma: 3
holch wrote:
I personally would avoid sending invitations BEFORE the survey is online. Why? Your best chance that people complete the survey is when they open the survey and directly go into it.

Reading instructions beforehand? Probably a nice wish rather than reality. ;-)

Most people will open the survey, see the link, go for the link, see the token is not yet valid and leave. They probably never come back, even if they innitially wanted to. They'll simply forget it. So this means another reminder email.

Some might even think they did something wrong or there is something wrong with the survey.

So I would rather give them a little bit more time to read everything and complete the survey, rather than sending out a link that is not yet accessible. This might work with "high envolvement" respondents, but even there I have my doubts.

But this is just an addition. Of course the system should be clear about what is happening.

In most cases yes, yet is there a good reason for not allowing it? There are cases, for example when you run "tests" that can only be accessible at a certain point in time, where it will be useful not to have to sit by your PC as an admin to launch the test but to be able to anticipate it.
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125967

  • mas_carpone
  • mas_carpone's Avatar
  • Offline
  • Gold Lime
  • Posts: 187
  • Thank you received: 14
  • Karma: 3
Mazi wrote:
mas_carpone wrote:
I have tested and the system does not send the invitation at all (and the value "Invitation sent" rightly stays at "N").

Agree that the message is misleading (goves an error but also saiys "emails sent"), but more generally wouldn't it be better if participants could be invited before the actual start date of a survey?
I agree that the system should send emails and should show a warning before that.
Please file a bug report at the bugtracker and post the link here. I will then take care of it.

Done just now, thanks!
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #125971

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
mas_carpone wrote:
....

In most cases yes, yet is there a good reason for not allowing it? There are cases, for example when you run "tests" that can only be accessible at a certain point in time, where it will be useful not to have to sit by your PC as an admin to launch the test but to be able to anticipate it.
When you test :
- Adding the real token with the valid date
- Adding the token test with no date.

Don't have to remind to send only to your tester to send invitation.

Testing is not a good reason.
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Invalid Token 10 months 1 week ago #126002

  • mas_carpone
  • mas_carpone's Avatar
  • Offline
  • Gold Lime
  • Posts: 187
  • Thank you received: 14
  • Karma: 3
Sorry Denis, I got the messaging wrong: what I meant is not tests but exams: I had trainees that needed to udnergo an exam, and we wanted that exam to be accessible only during the hours dedicated for it. We also have cases where we don't want the participants to answer before they have been briefed on the tools we deploy. There again it could be useful, but nothing that can't be worked around for sure ;)
Last Edit: 10 months 1 week ago by mas_carpone.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.454 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form