kartaview / openstreetcam.org

The openstreetcam.org web site
MIT License
74 stars 9 forks source link

Can't delete sequence #349

Closed joeybab3 closed 2 years ago

joeybab3 commented 2 years ago

I can't delete a sequence, it shows this error message: image image

JoshuaDietz commented 2 years ago

I have the same problem i.e. for deleting a single photo from a sequence on kartaview.org I debugged a bit and the reason is that for these POST endpoints the access token should be provided as a normal field in the request body. Instead the application provides it as a url parameter like for GET requests, i.e. /some-endpoint/?access_token=xxxxxx so for the server the user is not authenticated.

When I sent the same request as the application sent but added the access_token in the request body the deletion worked.

brmonaghan commented 2 years ago

Same here. I got this message still not working

joeybab3 commented 2 years ago

As a temporary workaround, you can use the app (though loading the profile sequences takes minutes or longer) to delete the sequences

miruna-craciun commented 2 years ago

hey, this has been fixed as of yesterday. please try to see if it works!

brmonaghan commented 2 years ago

Screenshot 2022-02-17 081420 Still not working with https://kartaview.org/details/1566873 https://kartaview.org/details/1566193 https://kartaview.org/details/1456702 https://kartaview.org/details/1455626

miruna-craciun commented 2 years ago

@brmonaghan - you are trying to access sequences that are processing. The delete function can only be used if recordings are published. However, @zhaitianduo @salabogdan - the recordings mentioned above are from 2019 but can not be accessed. Can you take a look?

joeybab3 commented 2 years ago

I am able to delete sequences again for what it's worth. I can leave this issue open for now until we confirm that all sequences are able to be processed again.

brmonaghan commented 2 years ago

I tried to do that @miruna-craciun and it is still not working. This has been a problem when trying to delete sequences. But its been awhile, so let me try again.

brmonaghan commented 2 years ago

Aaand its now working! @joeybab3 you can now close this. THANK YOU VERY MUCH @zhaitianduo AND @miruna-craciun FOR FIXING THIS!

nakic commented 2 years ago

@brmonaghan - you are trying to access sequences that are processing. The delete function can only be used if recordings are published. However, @zhaitianduo @salabogdan - the recordings mentioned above are from 2019 but can not be accessed. Can you take a look?

I have tracks which show up "processing" but will never process and cannot be deleted, e.g. this one: https://kartaview.org/details/4537689. I don't see a way to either change its status or delete it. Am I missing something?

brmonaghan commented 2 years ago

agree. @nakic this is the same problem here.