diff --git a/DragaliaAPI/DragaliaAPI/Services/Api/BaasApi.cs b/DragaliaAPI/DragaliaAPI/Services/Api/BaasApi.cs index afb7de777..199c468df 100644 --- a/DragaliaAPI/DragaliaAPI/Services/Api/BaasApi.cs +++ b/DragaliaAPI/DragaliaAPI/Services/Api/BaasApi.cs @@ -98,6 +98,12 @@ await savefileResponse.Content.ReadFromJsonAsync< HttpResponseMessage response = await client.SendAsync(request); + if (response.StatusCode == HttpStatusCode.NotFound) + { + this.logger.LogDebug("GetUserId returned 404 Not Found."); + return null; + } + if (!response.IsSuccessStatusCode) { this.logger.LogError(