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

Error from submitting timesheet due to permission #110

Closed
siewyeng opened this issue Jun 16, 2023 · 4 comments
Closed

Error from submitting timesheet due to permission #110

siewyeng opened this issue Jun 16, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@siewyeng
Copy link
Collaborator

Screenshot 2023-06-16 at 9 48 47 AM
@siewyeng siewyeng added the bug Something isn't working label Jun 16, 2023
@ThorpeJosh
Copy link
Owner

Need to remove this line. Seems they won't let 'Billable' be set anymore.

https://github.com/ThorpeJosh/tp-timesheet/blob/d2b605a0078a9cb47f17d049a367ae3bcb0c59d3/tp_timesheet/clockify_timesheet.py#L75C24-L75C24

@siewyeng
Copy link
Collaborator Author

Need to remove this line. Seems they won't let 'Billable' be set anymore.

https://github.com/ThorpeJosh/tp-timesheet/blob/d2b605a0078a9cb47f17d049a367ae3bcb0c59d3/tp_timesheet/clockify_timesheet.py#L75C24-L75C24

Wow thanks! How did you find out from the error image? :O

@ThorpeJosh
Copy link
Owner

No problem. I saw in logs it attempted to post a json with billable: true and it got a 501 error stating that we don't have permission to update the billability.

500 series errors are server side (clockify servers) and usually related to incorrect parameters, features not implemented, server malfunctions, etc. In this case luckily the message was informative.

@changukshin
Copy link
Collaborator

#111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants