APIs & Integrations

homefurn-dev
Participant

App API Error

SOLVE

I am currently working on an internal Hubspot application that will take sales data from our internal database and push it to a Hubspot contact's timeline.

 

The application received several errors today, such as the following:

 

 

{"status":"error","message":"internal error","correlationId":"1dbe1c08-b530-43ff-9351-985d44bc6708","requestId":"5c82809c32754303dd3d7b56b6a11c59"}

 

 

 

I did notice I did not set a delay between requests and may have been flooding the API server by mistake, but that has since been corrected. Is that the cause of these errors as well?

 

Thanks.

0 Upvotes
1 Accepted solution
homefurn-dev
Solution
Participant

App API Error

SOLVE

This issue appears to have resolved itself. 

View solution in original post

4 Replies 4
IsaacTakushi
HubSpot Employee
HubSpot Employee

App API Error

SOLVE

Hi, @homefurn-dev.

 

Are you still encountering these 500errors?

 

If so, can you share the following information:

1. The production Hub ID you are making requests to.
2. The full request URL you used, including the method. (Do not include API keys.)
3. The raw request body, including the headers.
4. Any error codes and messages you receive from HubSpot's API.

Isaac Takushi

Associate Certification Manager
0 Upvotes
homefurn-dev
Participant

App API Error

SOLVE

So for the production HUB ID, I am assuming the hubspot account that the app is pushing the data to? That is 3841636

 

PUT https://api.hubapi.com/integrations/v1/190203/timeline/event

 

Headers:

 

User-Agent: PHPAPP
CDN-Loop: cloudflare
Accept-Encoding: gzip
CF-Connecting-IP: [removed]
True-Client-IP: [removed]
X-HubSpot-Trace: 6dc77aefe20347e7ba59fa0b11cafa53
Authorization: Bearer CO-Zy_aWLRICQQEY5LzqASCUh5oCKPvNCzIZAOSJlctvOJJbB2-pQUKcjs-ejIY1ecXkGzoPAAoCRwAADIACAAgAAAABQhkA5ImVyyLilOineR0rd3TAtb1MRK1b_gvc
X-HS-Internal-Request: 1
Content-Length: 194
X-Real-IP: [removed]
Content-Type: application/json
CF-IPCountry: US
CF-RAY: 4b5edba99e8558fd-DFW
Accept: */*
X-Forwarded-Proto: https
Connection: close
X-Request-Start: 1552321250.823
X-HS-Internal-User-Request: 0
Host: api.hubapi.com
CF-Visitor: {"scheme":"https"}
X-HS-User-Request: 0
X-Forwarded-Port: 443
X-Amzn-Trace-Id: Root=1-5c868ae2-5b358e5c1edbc6907488d228
X-Forwarded-For: [removed]
X-Scheme: https

 

 

 

Body:

 

{
	"email": "[removed]",
	"eventTypeId": "387295",
	"firstName": "[removed]",
	"id": "Order-302484672",
	"lastName": "[removed]",
	"orderNumber": "302484672",
	"phoneNumber": "[removed]",
	"timestamp": 1552319900000
}

 

 

Error:

Content-Type: {"type":"application","subtype":"json","parameters":{"charset":"UTF-8"},"wildcardType":false,"wildcardSubtype":false}

{"status":"error","message":"internal error","correlationId":"dfa1be55-9f94-4f6d-bdfc-9dc8b1f911ac","requestId":"6dc77aefe20347e7ba59fa0b11cafa53"}
0 Upvotes
IsaacTakushi
HubSpot Employee
HubSpot Employee

App API Error

SOLVE

Hi, @homefurn-dev.

 

Apologies for the delayed response.

 

Thanks for that information. Looking into your app's monitoring section, I do see a number of 500 errors to /integrations/v1/190203/timeline/event last week up to Monday, March 11, but I don't see any in the last few days.

 

Did you change anything on your end or did the issue resolve on its own?

Isaac Takushi

Associate Certification Manager
0 Upvotes
homefurn-dev
Solution
Participant

App API Error

SOLVE

This issue appears to have resolved itself.