Attempting to run the eCommerce sync-messages API for CONTACTS. When I check the error meesages at sync-errors I receive the following error Invalid enum property [ip__ecomm_bridge__source_app_id] value [;145…] The protal is the application protal but the value [;145…] here is the development portal. I used OAUTH How do I change the value [;145…] to be the applicaiton portal
Hi, @aemmi.
Happy to help, but I’ll need more information on your developer account (portal), app ID, and your client’s Hub ID.
I’ll direct message you for these details.
Issac,
developer account Hub ID. – 4445704 app id 145925
OAuth app’s ID. - 3977210
The full sync message payload you sent to this endpoint, including the ip__ecomm_bridge__source_app_id value. - I didn’t set this value in the request.
I believe when I first started I used this end point https://api.hubapi.com/extensions/ecomm/v1/installs?hapikey=[redacted] to install but later noticed that it says don’t use it if you use OAuth. So if I uninstall it using https://api.hubapi.com/extensions/ecomm/v1/installs/uninstall?hapikey= will it still be there for the oauth account
message sent
[ { “integratorObjectId”: “907026”,
“action”: “UPSERT”,
“changeOccurredTimestamp”: 194170906,
“propertyNameToValues”: {
“first_name”: “Angelo”,
“last_name”: “Emmi”,
“email”: “angelo.emmi@gaylord.com” } },
{ “integratorObjectId”: “1299354”,
“action”: “UPSERT”,
“changeOccurredTimestamp”: 194170906,
“propertyNameToValues”: {
“first_name”: “Angelo”,
“last_name”: “Emmi”,
“email”: “angeloemmi6@gmail.com” } },
{ “integratorObjectId”: “1475068”,
“action”: “UPSERT”,
“changeOccurredTimestamp”: 194170906,
“propertyNameToValues”: {
“first_name”: “Angelo”,
“last_name”: “Emmi”,
“email”: “aemmifamily@gmail.com” } }]
The full request URL you used to find this sync error.
Used this url to retrieve the error message with oauth
http://api.hubapi.com/extensions/ecomm/v1/sync-errors
{“results”:[{“portalId”:3977210,“objectType”:“PRODUCT”,“integratorObjectId”:“40”,“changeOccurredTimestamp”:183109891121,“errorTimestamp”:1551085312807,“type”:“INVALID_ENUM_PROPERTY”,“details”:“Invalid enum property [ip__ecomm_bridge__source_app_id] value [;145925]. Valid options: [[0]]”,“status”:“OPEN”},{“portalId”:3977210,“objectType”:“PRODUCT”,“integratorObjectId”:“39”,“changeOccurredTimestamp”:183109891121,“errorTimestamp”:1551092655019,“type”:“INVALID_ENUM_PROPERTY”,“details”:“Invalid enum property [ip__ecomm_bridge__source_app_id] value [;145925]. Valid options: [[0]]”,“status”:“OPEN”},{“portalId”:3977210,“objectType”:“CONTACT”,“integratorObjectId”:“907026”,“changeOccurredTimestamp”:194170906,“errorTimestamp”:1551123707791,“type”:“INVALID_ENUM_PROPERTY”,“details”:“Invalid enum property [ip__ecomm_bridge__source_app_id] value [;145925]. Valid options: [[0]]”,“status”:“OPEN”},{“portalId”:3977210,“objectType”:“CONTACT”,“integratorObjectId”:“1475068”,“changeOccurredTimestamp”:194170906,“errorTimestamp”:1551123707477,“type”:“INVALID_ENUM_PROPERTY”,“details”:“Invalid enum property [ip__ecomm_bridge__source_app_id] value [;145925]. Valid options: [[0]]”,“status”:“OPEN”},{“portalId”:3977210,“objectType”:“CONTACT”,“integratorObjectId”:“1299354”,“changeOccurredTimestamp”:194170906,“errorTimestamp”:1551123707903,“type”:“INVALID_ENUM_PROPERTY”,“details”:“Invalid enum property [ip__ecomm_bridge__source_app_id] value [;145925]. Valid options: [[0]]”,“status”:“OPEN”}]}
Thank You
Issac,
Have you had a chance to look into this further
Thank You
Angelo
Hi, @aemmi.
Sincere apologies for the delayed response.
To be transparent, I missed your reply. This is partially because I was not tagged in any of the posts. It’s really easy for these kinds of replies to fall through the cracks, so please tag me in future messges with @IsaacTakushi.
Thank you for including all this information! Please don’t share production or developer API keys on this forum, however. Anyone who has access to a key has full access to the corresponding account. I have removed the key value from your post, but you may still wish to regenerate it on this page (Get HAPIkey > Regenerate key) since it’s been visible on this public forum all week.
That said, you included your developer API key, which cannot be used to install or uninstall Ecommerce Bridge settings in a production account. Only a production account’s API key can be used for this purpose. Thus, you shouldn’t need to uninstall anything.
Thank you for clarifying that you did not send any value for the ip__ecomm_bridge__source_app_id property.
It looks like this may be another instance of this issue, so I will follow up with the team on my end in an effort to resolve the behavior as quickly as possible. I will let you know if there are any additional steps we would like you to take. Sorry for the inconvenience.
Isaac, @IsaacTakushi
Thanks for the respons and for removing my API Key. I have regenerated the key as you suggested. Please elt me kow when you determine what the issue. If I installed the api using this end point with my developer API key
https://api.hubapi.com/extensions/ecomm/v1/installs?hapikey=demo
Would this caue an issue
Thank You
Angelo
Hi, @aemmi.
This was an issue on our end, apologies.
My team has filled the ip__ecomm_bridge__source_app_id property in account 3977210 with an option for your app, 145925, so syncing all objects should work now!
Additionally, we’ve resynced the three errored contacts listed above,and they now show as Ecommerce contacts (e.g. this contact).