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

Zero values in trackers gives 'missing tracker' error #3

Open
shannonfenn opened this issue Sep 9, 2015 · 0 comments
Open

Zero values in trackers gives 'missing tracker' error #3

shannonfenn opened this issue Sep 9, 2015 · 0 comments

Comments

@shannonfenn
Copy link

I'm not sure if non-string values are supposed to be supported but the following:

app.notify(event_name='test', trackers={'name': '<name-here>', 'time': 40.1, 'warnings': 0, 'notes': '<some notes>'})

fails with:

{'error': True, 'msg': '{warnings} is a missing tracker', 'status': 401}

while it succeeds if the value of warnings is changed to a non-zero value.

Since the issue also occurs with empty strings, None, False, 0.0 etc. so I assume there is the equivalent of a bool() check in the incoming values on the other end.

Is there anything fundamentally preventing empty strings, False or zero values being sent through the REST API?

I know this isn't a problem with this python wrapper but I'm not sure where else to send this issue.

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