toggl / toggl_api_docs

Documentation for the Toggl API
1.4k stars 235 forks source link

301 on www.toggl.com #317

Closed RickyB98 closed 5 years ago

RickyB98 commented 6 years ago

As of this morning, an API client that I was using broke because the www.toggl.com returns 301 and redirects to toggl.com - my client was not programmed to follow redirects. I reckon this might break many clients, so probably it should be kept in as a deprecated (?) legacy URL, and probably an email should be sent to tell developers to switch. Thanks!

thecatontheflat commented 6 years ago

Same problem here. No changes in my apps for days, yet it stopped working today

Zacklane commented 6 years ago

I also have this problem...

alexriziy commented 6 years ago

Same here

alexhermida commented 6 years ago

Same here..

3nvy commented 6 years ago

Same :/

ricotheque commented 6 years ago

Hey guys, sorry about that. We recently added a 301 redirect to improve our site’s SEO, and unfortunately this affected clients using our API as well. We’ve temporarily reverted the redirect as it was causing some problems with our integrations, so things should be working now.

To prevent a similar situation from happening again, can you guys please do the following?

  1. Add provisions for HTTP redirects to your clients
  2. Change all references to our API to https://api.toggl.com

Do let us know if there any more issues encountered!

shedokan commented 5 years ago

Closing as fixed