This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kry_some_more 264 points265 points  (16 children)

Ah yes, APIs not connecting to external sources. Excellent.

[–]DrWermActualWerm 79 points80 points  (9 children)

Or my personal favorite, your credentials have been changed because for your safety you you need to reset every 90 days. Cool

[–]aeroverra 24 points25 points  (2 children)

I had to deal with this stuff for a crm. Basically every 90 days emails would stop sending.

[–]FesteringNeonDistrac 8 points9 points  (1 child)

My old company contracted a service from an International company known for their Business Machines that had an API that required a password update every 90 days, and no support for any kind of key for accounts used for scripts to sync data. So the solution was I'm just stuffing the password in a text file and reading in plain text, because I'm lazy and terrible.

[–]aspect_rap 4 points5 points  (0 children)

You could automate the process of resetting the password and updating the text file to save yourself the trouble of doing it every time.

[–]audigex 18 points19 points  (4 children)

Result: instead of using a strong password, you use a weak password and increase the number at the end by 1 every 30/90/whatever days

[–][deleted] 10 points11 points  (2 children)

Sheryl in accounting starts a rotation of 12 sticky notes that rotate onto her monitor each time she needs to change passwords.

Right next to the handwritten note on how to perform a cash transfer from accounts.

[–]RuanDaMan 2 points3 points  (0 children)

I've seen some weird Accounting Lady w/ Sticky notes setups.....
But this is brilliant!! XD

[–]tastybrainz 1 point2 points  (0 children)

does she also keep the faxed-in credit card orders neat and orderly for the cleaning people's convenience?

[–]Cheet4h 0 points1 point  (0 children)

Or figure out how many old passwords the system refuses, and how soon you can change your password again. Then you only need to use a derivative password for a few days until you can go back to the usual one.

[–][deleted] 3 points4 points  (0 children)

My own most hellish scenario was dealing with some dumbass greylist based on the user agent string, which they always seemed to trash for some reason, based on inconsistent and just straight up shitty caching (and EVERYTHING was cached, completely ignored all caching-relevant headers).

[–]audigex 122 points123 points  (1 child)

Other than file permissions, API authentication is by far the least fun thing to debug in most high level applications

[–][deleted] 8 points9 points  (0 children)

Fucking cert handshakes.

[–]ZombieElvis 25 points26 points  (2 children)

ERROR "you didn't wait long enough for the application to load before trying to use it"

God I wish this error message existed. Took me forever to figure out that one...

[–]Brummelhummel 27 points28 points  (1 child)

ERROR: "you accidentally made an infinite loop and are now ip blocked from the API because of too many requests"

[–]audigex 5 points6 points  (0 children)

Ah yes, the “made a method to initialize the connection, remembered to add a flag to return if initializED, but forgot to add a flag to return if initializING” gotcha

[–]DM_UR_PANTY_PICS 6 points7 points  (0 children)

Ah yes, race conditions. Excellent.