Comments (17)
Hi,
after the page reloads you should see a message like "Latest Message: Product synchronization with Google Shopping completed" under the menu.
In your case I would expect "Errors happened while adding products to Google Shopping." .
Click on "Go to notifications" on the right side to see the error details.
from googleshoppingapi.
Yes, i got this notification -
Errors happened while adding products to Google Shopping.
A required attribute is missing. Internal reason: Insufficient product identifiers: Missing two out of three attributes [GTIN, brand, mpn] See 'identifier_exists' for product 'JJ Cole Bundle Me Hat - Cream' (in 'Default Store View' store)
from googleshoppingapi.
Okay, I'd suggest to set the following mapping for the attribute set:
Brand = Manufacturer (or add a product attribute for brand)
MPN = SKU
GTIN = EAN or GTIN (you might have to add a product attribute for EAN/GTIN)
Add at least two of them to be able to successfully sync.
The message is from Google, beacause ist mandatory to have two out of three of them...
from googleshoppingapi.
OK..it means that the product i am choosing does not have two out of three attributes (Brand, MPN, GTIN)
But if i select the product which has the two out of the above three attributes, the page get refreshed with a message "Google Shopping synchronization is running" and after a second, this message got removed but the selected product is still there in "Available Products".
Please advise!
from googleshoppingapi.
Then you might have another error in the notifications?
from googleshoppingapi.
I am not getting any error in the notifications. What may be the reason?
from googleshoppingapi.
Are there any errors in var/log/system.log ?
from googleshoppingapi.
Yes, I can see some warnings there in var/log/system.log
2015-02-17T09:34:46+00:00 ERR (3): Warning: include(Google/Config.php) [function.include]: failed to open stream: No such file or directory in XXXXXX/lib/Varien/Autoload.php on line 94
2015-02-17T09:34:46+00:00 ERR (3): Warning: include(Google/Config.php) [function.include]: failed to open stream: No such file or directory in XXXXXX/lib/Varien/Autoload.php on line 94
2015-02-17T09:34:46+00:00 ERR (3): Warning: include() [function.include]: Failed opening 'Google/Config.php' for inclusion (include_path='XXXXXX/app/code/local:XXXXXX/app/code/community:XXXXXX/app/code/core:XXXXXX/lib:.:/usr/lib/php:/usr/local/lib/php') in XXXXXX/lib/Varien/Autoload.php on line 94
2015-02-17T09:34:46+00:00 ERR (3): Warning: include(Google/Auth/OAuth2.php) [function.include]: failed to open stream: No such file or directory in XXXXXX/lib/Varien/Autoload.php on line 94
2015-02-17T09:34:46+00:00 ERR (3): Warning: include(Google/Auth/OAuth2.php) [function.include]: failed to open stream: No such file or directory in XXXXXX/lib/Varien/Autoload.php on line 94
2015-02-17T09:34:46+00:00 ERR (3): Warning: include() [function.include]: Failed opening 'Google/Auth/OAuth2.php' for inclusion (include_path='XXXXXX/app/code/local:XXXXXX/app/code/community:XXXXXX/app/code/core:XXXXXX/lib:.:/usr/lib/php:/usr/local/lib/php') in XXXXXX/lib/Varien/Autoload.php on line 94
2015-02-17T09:34:46+00:00 ERR (3): Warning: include(Google/Auth/Abstract.php) [function.include]: failed to open stream: No such file or directory in XXXXXX/lib/Varien/Autoload.php on line 94
2015-02-17T09:34:46+00:00 ERR (3): Warning: include(Google/Auth/Abstract.php) [function.include]: failed to open stream: No such file or directory in XXXXXX/lib/Varien/Autoload.php on line 94
2015-02-17T09:34:46+00:00 ERR (3): Warning: include() [function.include]: Failed opening 'Google/Auth/Abstract.php' for inclusion (include_path='XXXXXX/app/code/local:XXXXXX/app/code/community:XXXXXX/app/code/core:XXXXXX/lib:.:/usr/lib/php:/usr/local/lib/php') in XXXXXX/lib/Varien/Autoload.php on line 94
from googleshoppingapi.
These warnings can be ignored.
You have set a mapping for the product type you tried to add to Google Content?
Did you check if the item is actually listed in Google Merchant Center?
from googleshoppingapi.
No, actually i just realized that the error which i discussed above was generated by the old google API v1. Sorry for that !!
This was the error -
A required attribute is missing. Internal reason: Insufficient product identifiers: Missing two out of three attributes [GTIN, brand, mpn] See 'identifier_exists' for product 'JJ Cole Bundle Me Hat - Cream' (in 'Default Store View' store)
But, In case of using Google Content API v2, no notifications are generating. If i get the above error using API v2, i will set the mapping for the product. But in current situation, when i select any of the product, i am not getting any notification/error and the product is still available in "Available Products".
Please advice!
from googleshoppingapi.
You might have got an uncaught exception. This would cause the flag to not unlock.
If the flag is locked you would be redirected to Manage Items page without a message.
To unlock the Flag temporary add $flag->unlock(); after line 110 in app/code/community/BlueVisionTec/GoogleShoppingApi/controllers/Adminhtml/ItemsController.php:
$flag = $this->_getFlag();
$flag->unlock(); // remove this after fixing your error...
if ($flag->isLocked()) {
return;
}
from googleshoppingapi.
I added this code and tried again. I got the following notification this time.
Errors happened while adding products to Google Shopping.
The product "Tiny Love Pack and Play Take Along Mobile " hasn't been added to Google Content.
Error calling POST https://www.googleapis.com/content/v2/102158216/products: (400) [item] auth/frontend/not_claimed for AffiliateNetwork,DisplayAds,Shopping,ShoppingApi: Website URL not claimed
Do i need to set Website URL some where in Google Merchant Center? If yes, then please guide.
from googleshoppingapi.
Yes, you have to claim it in Merchant Center -> Settings -> General -> About your business
There you have to set the website like http://www.example.com . Then the website must be verified with one of the given options. After that you will be able to claim it.
If you have more than one Domain you will have to either create multiple merchant accounts or ask for a Multi Merchant account...
from googleshoppingapi.
OK.. i understand. Let me explain my case more clearly. I was working on the dev environment of my website like http://mywebsite.com/dev/ and have used the google API credentials generated by my test google account. That is why i was getting the "Website URL not claimed" error.
But on the live site http://mywebsite.com/, i used the credentials generated by my client's google account and when we are trying to add products to google content, we are getting the following error.
Errors happened while adding products to Google Shopping.
The product "Product ABC" hasn't been added to Google Content.
Error calling POST https://www.googleapis.com/content/v2/XXXXXX/products: (401) User cannot access account XXXXXX
Please advice!
from googleshoppingapi.
Hi,
I am having issues with the configurable products. When i try to add configurable products to Google Content, i am getting the following error -
The product "Product ABC" hasn't been added to Google Content.
Error calling POST https://www.googleapis.com/content/v2/XXXXXXXX/products: (400) [identifier_exists] validation/missing_required for Shopping,ShoppingApi: Insufficient product identifiers: Missing two out of three attributes [GTIN, brand, mpn]
I have already added SKU and Manufacturer for this product and have already done the mapping like below -
SKU - MPN
Manufacturer - Brand
Please advice! Thanks in advance.
from googleshoppingapi.
Hi,
is the Manufacturer also set in the configurable product?
from googleshoppingapi.
Yes, it seems that the problem was related with the manufacturer field for configurable products.
from googleshoppingapi.
Related Issues (20)
- Inventory is zero when migrate from m1 to m2 HOT 1
- Suddenly invalid values
- GoogleShoppingAPI Error during Magento 2 data import
- Error when open Manage Items HOT 1
- Catchable fatal error: Object of class Mage_Catalog_Model_Resource_Eav_Attribute could not be converted to string in GoogleProductCategory.php on line 30
- Cannot send cache limiter
- Cannot include XXXX HOT 1
- Dont upload/update/insert product without google image
- Fatal error: Class 'Google_Auth_AssertionCredentials' not found HOT 3
- synchronization process fails after upgrade to version 1.9.3.1 HOT 7
- Unkown field name
- Warning: Missing argument 2 HOT 1
- Missing 'shipping weight' attribute. HOT 2
- Google API Client Version HOT 2
- Wrong price in store with a specific currency
- Product Type Mapping Not Working
- facebook catalog feed stop fetching
- Error calling POST
- Unable to locate Google Shopping Category in product page
- this extension is available for magento 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googleshoppingapi.