Hacker News new | ask | show | jobs
by abrookewood 105 days ago
Public Service Announcement!! I don't know why the hell google do this, but when the deprecate a model, the error you will see is a Rate Limit error. This has caught me out before and it is super annoying.
1 comments

Do you mean when they remove a model you get that error? Because deprecation means it will be removed in the future but you can still use it
Yes, sorry - you are correct. Once removed, that's the error, which is incredibly confusing. I spent way too long troubleshooting usage when 2.0 was removed before I figured it out.
Yes it should be a 404 error because most apps have retry logic on rate limit errors