Me too when i want upload any pictures on my product...or when i want synchronize whith google base…
I would like to launch my store tomorow morning and this issue will made me crazy !!
I am using 1.1.8 and I was able to get 502 items uploaded last night but since then I am getting this error now without fail. I have tried just about everything myself and nothing is working now.
I agree with XOXO about someone pointing us in the right direction.
I’ve found out what was wrong for me, it was the attribute mapping, especially custom atributes were in cause. Just try to map only one or two attributes like price and weight and see what happens. Now it’s working fine for me.
Good luck
I’m assuming that Expected response code 200, got 400 mean HTTP status codes. 400 means:
400 Bad Request
The request contains bad syntax or cannot be fulfilled.
I haven’t checked by I assume the google API uses something like SOAP that uses HTTP.
so, not a timeout as I first thought?
I was able to upload about 50 of 150 products, then got the error.
So I started to upload the remainder 3 at a time - I suspected that perhaps a special char {` ; \ ? $ @ etc} was the problem. IE google need them encoding in some way before upload and magento wasn’t doing this.
I’ve now identified one product that won’t upload.
Removed a / and that did not help.
Found some fields were empty - filled them - that did not work.
I HAVE FOUND THE REASON - at least for me.
In my case I was mapping the product description attribute into the google base attribute “condition” - which can only take three values.
If you check each field you are transferring against the specification here:
If you add “description” to the mapping type “custom attribute, no mapping” you will run into this error “Expected response code 200, got 400” when the description is too long (i don’t know how long it is allowed to be).
Maybe someone has time to check how long a description is allowed to be?
Suggestion for Varien: allow setting to cut fields to certain length. Maybe someone documents how long Google allows them to be?
If you add “description” to the mapping type “custom attribute, no mapping” you will run into this error “Expected response code 200, got 400” when the description is too long (i don’t know how long it is allowed to be).
Maybe someone has time to check how long a description is allowed to be?
Suggestion for Varien: allow setting to cut fields to certain length. Maybe someone documents how long Google allows them to be?
This isn’t the answer either, I’m afraid. I have an item with a one-character Description (test item, of course) that gives me the error, and I still get the error when I don’t try to send Description at all.
I have Flash 10 installed. I’m on 1.1.8. I’ve tried in on a Mac and a PC. Same error.
In a PHP forum, someone suggested that the error might have to do with spaces, uppercase letters and underscores. My product types (including Default) all have uppercase letters in them. Could this be the problem?
I’m on Magento 1.2.1, and I’m having the same “Expected response code 200, got 400” error, despite several attempts at fixing it. Here are the Google Base specs for products:
Note that there are several required fields in Google Base that Magento does not allow you to choose: description, id, link, price, title. While I would hope that Magento automatically provides those fields, it’s not at all clear if it does. I get no success even using a minimal attribute mapping that maps weight to weight. I’ve tried it with an empty mapping, and I’ve tried it with a minimal mapping that maps Manufacturer to brand.
For the people who have this all working, could you post the contents of a single item and list the mappings you use to get this to Google Base? Magento could do a better job of providing actionable error messages for this. As it is, it either works perfectly or not at all, and there’s no guidance provided from the software to fix the problem.
I’m using Magento 1.2.0.2 and I’m getting the same error message. No matter what I try, I can’t get even a single product to load into Google Base. None of the suggested solutions have worked for me.
I’ve tried simple product with empty mapping up to configurable products with multiple attribute mappings. I’ve tried uploading one product and multiple products. I’ve tried the default attribute set and my own custom attribute sets. Nothing works.
As others have said, it would be great to get a hint as to why this isn’t working and what we can do to fix it. The ability to feed to Google Base is of utmost importance.