APIs & Integrations

Samh
Participant

Sync messages 500 internal server error

Hi,

 

I'm using https://legacydocs.hubspot.com/docs/methods/ecommerce/send-sync-messages and receiving the following error with deal object type.

 

{
    "status": "error",
    "message": "internal error",
    "correlationId": "ead87201-aa2c-4bf5-8a86-73734a59e4d8"
}
 
I can make succesful calls when using contact type. What could be causing this?
0 Votes
4 Réponses
Derek_Gervais
Ancien salarié HubSpot
Ancien salarié HubSpot

Sync messages 500 internal server error

Hey @Samh ,

 

Is this error reproducible when sending a specific request body? Or are you seeing these errors sporadicaly? If they're reproducible, can you give me your Hub ID (and App ID, if applicable) and an example request body you're sending?

0 Votes
Samh
Participant

Sync messages 500 internal server error

Hi Derek,

 

My Hub ID is 6822050.

 

It seems in our request body there has been pipeline_id field included in the 

propertyNameToValues. However due to some change, including it in the request body caused the error now.
 
If I remove it from the request body, I can get the deals going through.
 
This is the request body I was trying to send: 
 
[
  {
    "integratorObjectId": "36741",
    "action": "UPSERT",
    "changeOccurredTimestamp": 1596798517374,
    "propertyNameToValues": {
      "order_number": "19987",
      "pipeline_id": "75e28846-ad0d-4be2-a027-5e1da6590b98",
      "order_status": "shipped",
      "customer_id": "167178",
      "order_payment_type": "Käteinen",
      "store_name": "Store"
    }
  }
]
0 Votes
Derek_Gervais
Ancien salarié HubSpot
Ancien salarié HubSpot

Sync messages 500 internal server error

Hey @Samh  ,

 

That's extremely helpful information, thank you. Last question while I dig into this: Are you seeing any sync errors related to the pipeline_id property? Or are you only seeing these errors in the response when sending sync messages?

0 Votes
Samh
Participant

Sync messages 500 internal server error

So far I'm only getting this error message when sending deal sync messages.

0 Votes