# Creating ecommerce settings - 500 error

**URL:** <https://community.hubspot.com/t/creating-ecommerce-settings-500-error/19364>\
**Category:** APIs & Integrations\
**Created:** [March 11, 2020, 12:17pm UTC](https://community.hubspot.com/t/creating-ecommerce-settings-500-error/19364 "2020-03-11T12:17:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pavel/32/82797_2.png) [@pavel](https://community.hubspot.com/u/pavel)\
**Post date:** [March 11, 2020, 12:17pm UTC](https://community.hubspot.com/t/creating-ecommerce-settings-500-error/19364/1 "2020-03-11T12:17:40Z")

</div>

Hello,

I am having trouble with updating ecommerce settings, using this request:

`curl -s 'https://api.hubapi.com/extensions/ecomm/v1/settings?hapikey=xxx-xxx-xxx' \ -H 'Content-Length: 2065' -H 'Content-Type: application/json' -X PUT \ -d '{"enabled":true,"importOnInstall":false,"contactSyncSettings":{"properties":[{"propertyName":"email","targetHubspotProperty":"email","dataType":"STRING","required":true},{"propertyName":"first_name","targetHubspotProperty":"firstname","dataType":"STRING"},{"propertyName":"last_name","targetHubspotProperty":"lastname","dataType":"STRING"},{"propertyName":"phone","targetHubspotProperty":"phone","dataType":"STRING"},{"propertyName":"street","targetHubspotProperty":"address","dataType":"STRING"},{"propertyName":"zip","targetHubspotProperty":"zip","dataType":"STRING"},{"propertyName":"city","targetHubspotProperty":"city","dataType":"STRING"},{"propertyName":"country","targetHubspotProperty":"country","dataType":"STRING"}]},"productSyncSettings":{"properties":[{"propertyName":"name","targetHubspotProperty":"name","dataType":"STRING","required":true},{"propertyName":"price","targetHubspotProperty":"price","dataType":"NUMBER","required":true},{"propertyName":"description","targetHubspotProperty":"description","dataType":"STRING"}]},"dealSyncSettings":{"properties":[{"propertyName":"name","targetHubspotProperty":"dealname","dataType":"STRING"},{"propertyName":"amount","targetHubspotProperty":"amount","dataType":"NUMBER"},{"propertyName":"stage","targetHubspotProperty":"dealstage","dataType":"STRING","required":true},{"propertyName":"abandoned_cart_url","targetHubspotProperty":"ip __ecomm_bridge__ abandoned_cart_url","dataType":"STRING"},{"propertyName":"discount_amount","targetHubspotProperty":"ip __ecomm_dbridge__ discount_amount","dataType":"NUMBER"},{"propertyName":"order_number","targetHubspotProperty":"ip __ecomm_bridge__ order_number","dataType":"STRING"},{"propertyName":"tax_amount","targetHubspotProperty":"ip __ecomm_bridge__ tax_amount","dataType":"NUMBER"}]},"lineItemSyncSettings":{"properties":[{"propertyName":"price","targetHubspotProperty":"price","dataType":"NUMBER"},{"propertyName":"quantity","targetHubspotProperty":"quantity","dataType":"NUMBER"},{"propertyName":"discount","targetHubspotProperty":"discount","dataType":"NUMBER"}]}}'`

This gives me 500 error:

`{"status":"error","message":"Api[name=integrations-sync, subPath=/extensions/sync/v1/settings/internal/batch] Failed to process your request. Error code was '500'. Error message was:\n{\"status\":\"error\",\"message\":\"internal error\",\"correlationId\":\"8698f622-b561-471d-b970-7280afd51dfe\",\"requestId\":\"74b780a5-0514-4235-8c9f-be934c30f6bd\"}","correlationId":"8698f622-b561-471d-b970-7280afd51dfe","requestId":"f894bff6-d104-411e-a268-4a82fae0356c"}`

Please advice

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [March 11, 2020, 5:50pm UTC](https://community.hubspot.com/t/creating-ecommerce-settings-500-error/19364/2 "2020-03-11T17:50:38Z")

</div>

Hi, @pavel.

It looks like you chatted with my support colleague Ruairi.

My team is working with him to diagnose and troubleshoot your issue. Please look to the support ticket ending in **6340** for updates.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [March 13, 2020, 11:36am UTC](https://community.hubspot.com/t/creating-ecommerce-settings-500-error/19364/3 "2020-03-13T11:36:48Z")

</div>

Hi, @pavel.

This should now be resolved. Thanks for bringing this to our attention and sincere apologies for the disruption.
