Twitter connection problem
Hi...trying to build a twitter connection on RM Server 7.4 and I keep getting an error. Here's what I did:
- Added a Twitter connection on my server from the RM Studio "Add connection" interface.
- Tested with success.
- Added "admin" as user
- Save all changes.
- Logged into RM Server and went to Connections. The token is already pasted into the access_token window. When I click "Test Connection Parameters", I get "Test failed: Twitter API access token has incorrect format"
- Tried deleting the token and then literally copying and pasting the token manually from Studio to Server - same result.
Help?
Thanks.
Scott
Best Answer
-
Edin_Klapic Employee-RapidMiner, RMResearcher, Member Posts: 299 RM Data Scientist
When reproducing your problem I managed to fix it by setting the permissions for this connection.
Would you please check if they are set on your machine?
Another question which might also be interesting here: How did you trigger this process?
From Studio by clicking on "Execute on Server" or from the Server Webinterface?
Best,
Edin
0
Answers
Hi Scott,
sometimes there is an issue when it comes to setting access rights for Server connections from within Studio.
Would you please delete the connection and set it up within the Webinterface of RapidMiner Server, set the permissions there and test it.
If you get an error as well would you mind providing the log file for this event?
Best,
Edin
Hi Edin -
I'd be happy to...can you please explain how to do this exclusively from the web interface? All I can see is a space to insert the token cut from RM Studio:
Hi Scott,
my bad
I did not create a Twitter connection in a while. Do you still have the token somewhere around? Otherwise create this Twitter connection on and for your local machine and copy the token then into the Web interface, hit Submit and test the connection.
Best,
Edin
No worries. Yes that is exactly what I did - created the token in Studio (which works fine) and then pasted it into Server. No good. Next idea?
Hi Scott,
sorry for the delay - We had a public holiday in Germany
I tried to reproduce the problem and it worked. Thus I realized that you need to hit Submit before you can Test the connection - otherwise it failed for me as well.
Are you running other extensions which work connecting with access tokens, so we can therefore narrow it down to the Twitter connection?
Best,
Edin
No problem, Edin. We're on holiday this weekend too.
I tried it all again from scratch just now and RM Server confirmed that it made a connection with Twitter (green "Connection successful") in the Connections window. But running a process with Twitter and that connection still fails. Here's the log file:
The issue seems to be that the token does not get saved properly. When I go BACK to the Connections window and click "Test Connection" again, I get an error:
Scott
OK I don't know quite how I did it but with your help I got it working - finally! Rather quirky. Thanks, Edin.
Scott