speedruncomorg / api

REST API Documentation for speedrun.com
346 stars 36 forks source link

Making a request to `PUT /runs/{id}/players` always returns 500 #119

Open badBlackShark opened 3 years ago

badBlackShark commented 3 years ago

I tried a bunch of different ways of sending my request, but whenever I make a request that seems fully valid to me I get back 500 Internal Server Error.

Is there something wrong with this endpoint?

PolariTOON commented 3 years ago

Are you trying to submit runs on behalf of another user? If so, i think this is a duplicate of #87. Currently, a workaround is to submit the run, unverified, on your behalf, via the API and then manually edit the player name on the site.

badBlackShark commented 3 years ago

I'm not trying to do that. I'm writing an API wrapper and I was simply trying to test the endpoint. No matter if it's on an unverified or already verified run, as soon as I try to change the player to anyone but myself on one of my runs via the API (being a game moderator for the game the run was done in) I get a 500. Having a workaround for an API wrapper be actually going on the site and performing an action manually is not exactly what I'm after.

87 has been open for over 2 years now. If this endpoint isn't working (along with submitting on someone else's behalf) it should at the very least be documented by now.