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

toggl projects add -n "asd asd" --color 123 #275

Closed
Doslin opened this issue Dec 14, 2022 · 3 comments
Closed

toggl projects add -n "asd asd" --color 123 #275

Doslin opened this issue Dec 14, 2022 · 3 comments

Comments

@Doslin
Copy link

Doslin commented Dec 14, 2022

ERROR: Toggl's API server returned 400 code with message: "Invalid format for estimated hours, please use an integer."

image

@jakkdl
Copy link

jakkdl commented Jan 20, 2023

+1, can't really create new projects on the cli at all.

@AuHau
Copy link
Owner

AuHau commented Jan 23, 2023

Great 😳 That looks like API breaking change. Will have a look on it. Thanks for reporting!

matescb added a commit to matescb/toggl-cli that referenced this issue Feb 7, 2023
Without integer as the default value of `estimated_hours`, `null` is pushed to toggl and API response with 400 error code
With `0` set as the default value, a project is created by toggl API 

This is a fix for issue `toggl projects add -n "asd asd" --color 123 AuHau#275`
@StanczakDominik
Copy link
Collaborator

Fixed by #285 :)

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

4 participants