APIs & Integrations

Not applicable

Get email events - Cannot read property "appId" from null

Cannot read property "appId" from null

sometimes appid in Get email events (GET /email/public/v1/events) api is coming as null, subsequent request gives proper appid.

how to handle this scenario?

can we sort the response given by Get email events api?

0 Upvotes
3 Replies 3
cbarley
HubSpot Alumni
HubSpot Alumni

Get email events - Cannot read property "appId" from null

Hi @HappiestMinds, this endpoint doesn't allow for sorting, unfortunately.

0 Upvotes
Not applicable

Get email events - Cannot read property "appId" from null

Hi @Connor_Barley,

can we sort the response for Get email events API?

There is no specific request, this issue is intermittent, subsequent request gives proper appId.

Thanks.

0 Upvotes
cbarley
HubSpot Alumni
HubSpot Alumni

Get email events - Cannot read property "appId" from null

Hi @HappiestMinds,

To my knowledge, the appID shouldn't ever be null with that endpoint. I've seen it return 0, but have yet to see it return null. Is there a specific request in your account that I can make to reproduce this?

Thanks!

Connor

0 Upvotes