New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to remove pinned item #1981
Comments
@mbommerez mind getting someone on the team to take a look? |
@dchoi27 Will do! |
Hi @acourter27, thanks for reporting the issue.
For the list to work you need to pass a ie. There's some discussion around status not being "required", but rather
Can you provide a bit more context on how you're trying to do this? I've just tested adding a file and removing it with a given token and it works as expected. I suspect you might be trying to delete a Please let me know if this answers your question and don't hesitate to add context to the issue. |
@flea89 I removed the extra "/?" and the command succeeded, but shows that the count is zero. However, on the GUI it still shows a pinned file. I ran the second query as well in case it wasn't fully "pinned", but it also came back with {"count":0,"results":[]}. Curl command I ran: For the delete command, I was trying to run this: For that, I get this response: The key being used was the same on both, so I know it's still valid. I'm not sure what a "deleted token" would be in this regard. I've pinned & removed other files without any issues, but this one file won't remove. A screenshot of what I see on the GUI: https://p172.p4.n0.cdn.getcloudapp.com/items/X6uQ76gA/abfda5de-86f1-41be-8567-7450c61a466f.jpg?v=250bf08cdd046d66d4b59f5c8563487a |
@acourter27 thanks for the context. So as it stands right now, On UI, on the other hand, you can see all the requests done by the user, so you will see all the request despite the token you used. I've created a PR that hopefully should allow you to delete the file from the UI here. Keep an eye on it, it should hopefully solve your issue 🤞 |
It looks like that PR was merged into main, but I tried deleting the pinned item via the GUI today and it still didn't work. Was it released after the merge? |
@acourter27 thanks for your message. Thanks |
@acourter27 This has now been released. |
Worked as expected; thanks!! |
There's a pinned CID on my account that I'm unable to remove. When I try using the Pinning API to list all pins, it comes back with "Instance does not have required property /"status/"."
I've tried running the command to remove the PIN using the right Request ID, but it tells me "API token no longer valid". I've tried with multiple tokens including ones I had just created, but nothing works.
I've also tried from the GUI and it "deletes" but then is still there.
I didn't care before but now that storage space may be something I need to pay attention to, I'd like to know how to get that cleaned up.
The text was updated successfully, but these errors were encountered: