Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400 bad request when sending a 'track' even without properties #4

Open
kyranb opened this issue Mar 23, 2020 · 0 comments
Open

400 bad request when sending a 'track' even without properties #4

kyranb opened this issue Mar 23, 2020 · 0 comments

Comments

@kyranb
Copy link
Contributor

kyranb commented Mar 23, 2020

The following example:

$heap->track('Paid Order', '[email protected]');

now fails as Heap requires the properties attribute to not be an empty array.

Client error: `POST https://heapanalytics.com/api/track` resulted in a `400 Bad Request` response: postBody.events[0].properties should be object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant