skip to Main Content

Firebase – FCM send – 401 Unauthorized even though can query Firestore documents

Im trying to send FCM in my kotlin springboot backend. I can query/write firestore documents successfully. But when I try to send fcm, I got below error. message: "handleException /<endpoint> com.google.api.client.http.HttpResponseException: 401 Unauthorized POST https://fcm.googleapis.com/v1/projects/<project-id>/messages:send" The Service Account have Firebase…

VIEW QUESTION

Error :app:kaptGenerateStubsDebugKotlin and Unknown Kotlin JVM target: 21 after changing Android studio from Iguana to LadyBug

Please help. I changed Android studio from Iguana to LadyBug and the project does not compile. There are two errors during compilation :app:kaptGenerateStubsDebugKotlin' and Unknown Kotlin JVM target: 21: Execution failed for task ':app:kaptGenerateStubsDebugKotlin'. > Error while evaluating property 'compilerOptions.jvmTarget'…

VIEW QUESTION
Back To Top
Search