Sales Integrations

nilesht
Member

Getting Invalid Deal Stage in error list - Unable to Sync Deal via

SOLVE
I am trying to Sync Deal via ECOM Bridge API , but getting below issue:{"portalId"6701464,
            "storeId""1",
            "objectType""DEAL",
            "externalObjectId""ORD_000000319_1576157784",
            "changedAt"1576160615907,
            "erroredAt"1576160616195,
            "type""INVALID_DEAL_STAGE",
            "details""Deal stage SyncHadoopHubspotPropertyValue{hubspotPropertyName=dealstage, propertyValue=Checkout Pending, timestamp=1576160615907} is not valid for portal SyncKey{objectType=DEAL, portalId=6701464, settingsId=5468, externalObjectId=1__ORD_000000319_1576157784}",
            "status""OPEN"
}

API Response Logged:
[2019-12-12 14:23:36] report.DEBUG: 175 {"log:":{"request_method":"PUT","request_uri":"https://api.hubapi.com/extensions/ecomm/v2/sync/messages?hapikey=*********************"}} []
[2019-12-12 14:23:36] report.CRITICAL: 193 {"log:":{"responseCode":204,"responseBody:":"","responseMessage":"No Content"}} []

Could you please provide  help on this?

1 Accepted solution
jackcoldrick
Solution
HubSpot Employee
HubSpot Employee

Getting Invalid Deal Stage in error list - Unable to Sync Deal via

SOLVE

Hi @nilesht,

 

This error occurs when  a deal update includes a deal stage that is not part of the eCommerce pipeline. Looking at the value you passed in "Checkout Pending"- is not valid. The values must be as follows:

 

  • Checkout Abandoned = checkout_abandoned
  • Checkout Pending = checkout_pending
  • Checkout Completed = checkout_completed
  • Processed = processed,
  • Shipped = shipped
  • Cancelled = cancelled

I hope this helps,

Jack

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn

View solution in original post

2 Replies 2
jackcoldrick
Solution
HubSpot Employee
HubSpot Employee

Getting Invalid Deal Stage in error list - Unable to Sync Deal via

SOLVE

Hi @nilesht,

 

This error occurs when  a deal update includes a deal stage that is not part of the eCommerce pipeline. Looking at the value you passed in "Checkout Pending"- is not valid. The values must be as follows:

 

  • Checkout Abandoned = checkout_abandoned
  • Checkout Pending = checkout_pending
  • Checkout Completed = checkout_completed
  • Processed = processed,
  • Shipped = shipped
  • Cancelled = cancelled

I hope this helps,

Jack

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn
nilesht
Member

Getting Invalid Deal Stage in error list - Unable to Sync Deal via

SOLVE

Thanks @jackcoldrick . This solution fixed the issue.