Have you tried s~appname (hard) instead of encoding. You might have
tried that but we recently got stumped by that. The docs made no ref
to it. We added the hard prefix and everything worked a treat.



On Mar 12, 5:28 am, tarun2000 <[email protected]> wrote:
> I want to run the python example for pull queues over rest.  I keep
> getting a 403 when it tries to access the pull queue.  My app is HRD.
> I replaced the client id / secret with my own, and the authentication
> part succeeds.  (appname is the name of my app, queuename is the name
> of my queue in the actual script output)
>
> $ gtaskqueue --project_name=s~appname getqueue
> --request-start--
> GEThttps://www.googleapis.com/discovery/v1/apis/taskqueue/v1beta1/rest
> Authorization: [some valid string]
> user-agent: google-api-python-client/1.0
>
> --request-end--
> --request-start--
> GEThttps://www.googleapis.com/taskqueue/v1beta1/projects/s%7Eappname/tas...
> Authorization: [some valid string]
> content-length: 0
> accept-encoding: gzip, deflate
> accept: application/json
> user-agent: google-api-python-client/1.0
>
> --request-end--
> Error Processing request: <HttpError 403 when 
> requestinghttps://www.googleapis.com/taskqueue/v1beta1/projects/s%7Eappname/tas...
> returned "you are not allowed to make this api call">
>
> In my config for the app:
>   <queue>
>     <name>worker</name>
>     <mode>pull</mode>
>     <acl>
>       <user-email>[email protected]</user-email>
>     </acl>
>   </queue>
>
> Any ideas?

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

Reply via email to