- Posts: 1
Joomdle 2.x Installation
Invalid token - token not found | ERRORCODE: invalidtoken
- sameh
- Topic Author
- Offline
- New Member
-
Less
More
4 years 1 month ago #1
by sameh
Invalid token - token not found | ERRORCODE: invalidtoken was created by sameh
HI, I'm getting this error
Invalid token - token not found | ERRORCODE: invalidtoken
I'm sure that tokens and codes are correct
when I try URL
/moodle/webservice/rest/server.php?wstoken=76473119e4f66b06d15111132ad0df29&moodlewsrestformat=json&wsfunction=joomdle_system_check
I get result
{"joomdle_auth":1,"mnet_auth":1,"joomdle_configured":1,"test_data":"XML-RPC Error (1): Invalid token:waL0XJktfk6lBQ6nW2aFA4N9Les1Yfgg","release":"2.0.0"}
now when I try
/index.php?lang=en-GB&option=com_joomdle&task=ws.server&format=xmlrpc&token=waL0XJktfk6lBQ6nW2aFA4N9Les1Yfgg
from Joomla side
I get
faultString parse error. not well formed. error occurred at line 1, column 0, byte index -1 faultCode -32700
I did move to new server and upgraded Moodle/joomla
I did move server
live - dev (dev server works fine)
dev to new server (get the above error)
when connect from Joomla on dev server to new moodle server all works fine
please point me in the right direction
Thanks
Invalid token - token not found | ERRORCODE: invalidtoken
I'm sure that tokens and codes are correct
when I try URL
/moodle/webservice/rest/server.php?wstoken=76473119e4f66b06d15111132ad0df29&moodlewsrestformat=json&wsfunction=joomdle_system_check
I get result
{"joomdle_auth":1,"mnet_auth":1,"joomdle_configured":1,"test_data":"XML-RPC Error (1): Invalid token:waL0XJktfk6lBQ6nW2aFA4N9Les1Yfgg","release":"2.0.0"}
now when I try
/index.php?lang=en-GB&option=com_joomdle&task=ws.server&format=xmlrpc&token=waL0XJktfk6lBQ6nW2aFA4N9Les1Yfgg
from Joomla side
I get
faultString parse error. not well formed. error occurred at line 1, column 0, byte index -1 faultCode -32700
I did move to new server and upgraded Moodle/joomla
I did move server
live - dev (dev server works fine)
dev to new server (get the above error)
when connect from Joomla on dev server to new moodle server all works fine
please point me in the right direction
Thanks
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
4 years 1 month ago #2
by Antonio Durán
Replied by Antonio Durán on topic Invalid token - token not found | ERRORCODE: invalidtoken
Hi.
> I'm sure that tokens and codes are correct
If you got to Manage totkens in Moodle, is the token there?
If you have changed hosting, it is better that you remove the token in Moodle, create it again, and set the new one in Joomdle config in Joomla.
> I'm sure that tokens and codes are correct
If you got to Manage totkens in Moodle, is the token there?
If you have changed hosting, it is better that you remove the token in Moodle, create it again, and set the new one in Joomdle config in Joomla.
Please Log in or Create an account to join the conversation.