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

fix: intervals.icu expects application/json Content-Type #15

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

arthuracs
Copy link
Contributor

@arthuracs arthuracs commented Jan 7, 2024

Was getting Something went wrong: 422 Client Error: for url: https://intervals.icu/api/v1/athlete/[athlete_id]/events errors when trying to upload events to intervals.icu. Full error response was: Content type 'text/plain;charset=UTF-8' not supported.

Changed Content-Type to application/json in get_intervals_icu_headers.

@iamdabe
Copy link

iamdabe commented Jan 15, 2024

Thanks @arthuracs ! I can confirm fix is working here. Any chance of getting this accepted to help others out?

@bakermat bakermat merged commit b800e0d into bakermat:main Jan 15, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants