Cách khắc phục lỗi 400 bad request

I have sầu been running into lớn this error for the last 3 or 4 weeks making requests lớn tiện ích engine. Certain requests - especially HTTP DELETE requests, are having this error returned from the google VPS.

Bạn đang xem: Cách khắc phục lỗi 400 bad request

quý khách đã xem: Bigquery: your client has issued a malformed or illegal request, that's all we know · issue #2855 · googleapis/google

Others have reported the same error - with 3 outcomes I can locate

I"m now getting this behaviour all the time, in every browser. I can completely clear down the cache/cookies etc.

Xem thêm:

in Chrome, Firefox, Safari, restart the browser and still reliably get this error on the same requests, so I don"t think its cookie related. In any case I can issue GET, POST & PUT requests no problem with the same cookie.

Xem thêm:

Given that it occurs reliably on specific DELETE requests, the malformed URL would seem the most likely, however my URL is really very simple, và works fine on the dev server

Firebug shows the request headers as (I"ve sầu munged the keys as they contain identifying data, but did so by removing characters from the centre of the key - not either end khổng lồ guarantee I didn"t inadvertently remove any leading or trailing whitespace)

Request URL:http://my-app.appspot.com/agprhcjgLEgVLbm93dCItX0RrbV9Ea25vd3RfbmV0X19wccxDA/Task.xml Request Method:DELETE Status Code:400 Bad Request Request Headers Accept:*/* Cache-Control:max-age=0 Content-Type:application/x-www-form-urlencoded Origin:http://my-phầm mềm.appspot.com Referer:http://my-app.appspot.com/ User-Agent:Mozilla/5.0 (Macintosh; U; Hãng Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4 X-Requested-With:XMLHttpRequest Form Data entity_key:agprdC1hcjYLEgVLbm93dCIrX09Ea25vd3RfbmV0X19wMQw Response Headers Content-Length:1350 Content-Type:text/html; charset=UTF-8 Date:Fri, 30 Jul 2010 15:51:58 GMT Server:GFE/2.0The response headers show that the request never made it lớn the app engine servers (& my ứng dụng engine logs bear this out) - a request which successfully makes it khổng lồ the app engine server looks more lượt thích this for response headers -

Is anyone else able to lớn issue HTTP DELETE requests lớn google ứng dụng engine? If you are, do your URL"s contain app engine entity keys? Can you see anything dodgy with mine?

Any other pointers would be greatly appreciated. Cheers,


The full response from the google VPS is -

400 Bad Request
Bad RequestYour client has issued a malformed or illegal request.
Chuyên mục: Domain Hosting

Chuyên mục: Mail