Problem when trying to access /remote_api with bulkloader.py or remote shell ... the Token gets returned with a "L" at the end

26 views
Skip to first unread message

David

unread,
Jun 15, 2011, 1:48:11 PM6/15/11
to Google App Engine
Hello,

I am having trouble using the remote_api of my Java based App. When
using bulkloader.py or the remote api shell on it, I get prompted the
login details and, after entering it, the following error message (I
am only posting the last line for now) is shown:
google.appengine.ext.remote_api.remote_api_stub.ConfigurationError:
Token validation failed during app_id lookup. (sent '1234567890123',
got 1234567890123L)
(I replaced the tokens, just to be safe. I don't know if it is
actually necessary for security or not)

Any ideas what is going wrong and how I can fix it? I am actually
surprised that I have not found anything on that specific problem. At
least none of the posts I found mentioned different tokens due to the
letter "L" being appended.

appcfg.py works. It is just bulkloader.py and remote_api_shell.py that
don't. The reason why I need them is that I want to be able to delete
all data from the datastore because I mess it up once in a while
during early development stages.

Any help is appreciated.

best regards,
David

Robert Kluin

unread,
Jun 17, 2011, 5:33:28 AM6/17/11
to google-a...@googlegroups.com
Hi David,
I suspect one value is a long integer value and the other is a
string. How are you setting the token?


Robert

> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>

David

unread,
Jun 25, 2011, 9:19:45 AM6/25/11
to Google App Engine
Not at all. The script (remote-api / bulkloader) asks me for my login
details and then handles that stuff in the background. I don't even
know if the token gets returned from the remote_api servlet or from
the google service that handles logins.

I have to admit that I did not test with 1.5.1 yet. At the time I
posted, I was on App Engine 1.5.0. I found other ways around my
problem so far, that don't use remote-api or bulkloader.

Anyway, it is difficult for me to debug anything since I am a pure
Java developer. I don't know python at all, it is just that the
bulkloader is python only that forced me to (attempt) to use it.
Reply all
Reply to author
Forward
0 new messages