Timeline Event API 415 Response


#1

HI
I am getting 415 response from timeline api. Not sure what wrong in passing data with api. Here below which i have shown in api log:

Header:
CF-IPCountry: GB
CF-RAY: 45fea113482a345e-IAD
ContentType: application/json
dataType: json
X-Forwarded-Proto: https
Connection: close
X-Request-Start: 1537890445.384
X-HS-Internal-User-Request: 0
Host: api.hubapi.com
CF-Visitor: {"scheme":"https"}
Accept-Encoding: gzip
X-HS-User-Request: 0
CF-Connecting-IP: xxxxxxxxxxxxxxxxxxxxxxxxxxx
True-Client-IP: xxxxxxxxxxxxxxxxxxxxxxxxxxx
X-Forwarded-Port: 443
X-HubSpot-Trace: 872ed2681518435b9cd4d15e9abdff8e
Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxx
X-HS-Internal-Request: 1
X-Forwarded-For: xxxxxxxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxx
MediaType: application/json
Content-Length: 66
X-Real-IP: 109.203.110.242
X-Scheme: https

Body:
{"id":"100945","objectId":100584392,"eventTypeId":"380190"}


#3

Hi @saiful,

Happy to help. Would you clarify the following?

  • What is your Hub ID?
  • Which Timeline API endpoint are you using for the request above?
  • Would you send me the full 415 response you received?

#4