Skip to content
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

Handle 422 more gracefully #86

Closed
prplecake opened this issue Jul 6, 2023 · 0 comments · Fixed by #96
Closed

Handle 422 more gracefully #86

prplecake opened this issue Jul 6, 2023 · 0 comments · Fixed by #96
Assignees
Labels
bookmarking services All about bookmarking services LinkAce Link: "Maybe, but probably not."

Comments

@prplecake
Copy link
Owner

prplecake commented Jul 6, 2023

These are presumably thrown by LinkAce when attempting to save an existing link.

Stacktrace

2023-07-05 21:32:39.013 -05:00 [Error] [BookmarkSync.Infrastructure.Services.Bookmarking.BookmarkSyncService] Failed to save bookmark
System.Net.Http.HttpRequestException: Response status code does not indicate success: 422 (Unprocessable Content).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at BookmarkSync.Infrastructure.Services.Bookmarking.LinkAce.LinkAceBookmarkingService.Save(Bookmark bookmark) in /Users/prplecake/Projects/fediverse/mastodon-bookmark-sync/src/BookmarkSync.Infrastructure/Services/Bookmarking/LinkAce/LinkAceBookmarkingService.cs:line 44
   at BookmarkSync.Infrastructure.Services.Bookmarking.BookmarkSyncService.StartAsync(CancellationToken stoppingToken) in /Users/prplecake/Projects/fediverse/mastodon-bookmark-sync/src/BookmarkSync.Infrastructure/Services/Bookmarking/BookmarkSyncService.cs:line 56
@prplecake prplecake added bookmarking services All about bookmarking services LinkAce Link: "Maybe, but probably not." labels Jul 6, 2023
@prplecake prplecake self-assigned this Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bookmarking services All about bookmarking services LinkAce Link: "Maybe, but probably not."
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant