Google App Engine Task Queue: googleapi: Error 500: Backend Error

481 views
Skip to first unread message

Frank Blechschmidt

unread,
Nov 18, 2013, 11:49:00 AM11/18/13
to google-a...@googlegroups.com

Hey :)

I've defined a pull queue for my app engine application and want to fill it from outside via the REST api. Unfortunately it doesn't work, I always get an error 500: backend error. Even if I try to fill it with the api explorer from thedocumentation.
https://developers.google.com/appengine/docs/go/taskqueue/rest/tasks/insert

It responses:

500 Internal Server Error

- Show headers -

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "backendError",
    "message": "Backend Error"
   }
  ],
  "code": 500,
  "message": "Backend Error"
 }
}

Any idea how to solve it?

Best regards Frank

Vinny P

unread,
Nov 19, 2013, 1:40:09 AM11/19/13
to google-a...@googlegroups.com
On Mon, Nov 18, 2013 at 10:49 AM, Frank Blechschmidt <frab...@gmail.com> wrote:

I've defined a pull queue for my app engine application and want to fill it from outside via the REST api. Unfortunately it doesn't work, I always get an error 500: backend error. Even if I try to fill it with the api explorer from thedocumentation.



Are there any error logs showing up in the App Engine admin console? 

If not, can you post the YAML definitions of your application's app.yaml, backends.yaml, queue.yaml, and a short test case of your backends code? Most likely there's some kind of issue there, as the API Explorer is generally reliable when invoking services.
 
 
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

Frank Ren

unread,
Aug 26, 2014, 8:47:50 PM8/26/14
to google-a...@googlegroups.com
Hi

Did you solve your problem?

I got the same problem... Just solved it by supplying to request body a property, queueName, which is not documented.

Frank, yet another :)

Eric G

unread,
Mar 23, 2015, 11:21:43 AM3/23/15
to google-a...@googlegroups.com
Hey, thanks for this Frank(s)!  Solved my problem too. I'm submitting a feedback request to Google's documentation on this.

One other thing I had to do was make sure my project in the URL was prefixed with "s~", as suggested in responses to the SO question here:
Reply all
Reply to author
Forward
0 new messages