Tried to create firebase project adding my existing Google Cloud project. It failed after last step:
It fails at this request which ends with 500 status code:
POST https://mobilesdk-pa.clients6.google.com/v1/projects:migrateToFirebaseProject?key=XXXXX_REMOVED_XXXXX&alt=json
{
"error": {
"code": 500,
"message": "2: \u003ceye3 title='/ThirdPartyFederatedService.SetOAuthAppConfig, INVALID_ARGUMENT'/\u003e APPLICATION_ERROR;apps.auth.proto/ThirdPartyFederatedService.SetOAuthAppConfig;client_id cannot be empty for provider: yahoo\ncom.google.net.rpc3.RpcException: OpenAuth::INPUT_ERROR: client_id cannot be empty for provider: yahoo
[REMOVED quite long stack trace here]",
"status": "UNKNOWN",
"details": [
{
"#type": "type.googleapis.com/google.internal.firebase.v1.ErrorCode"
}
]
}
}
Related
HTTP Error: 500, [DATABASE_ERROR]: Attempt to read the ConditionOrderEntity of this template resulted in too many rows (2) for project [0000000000]
Error Context: {
"body": {
"error": {
"code": 500,
"message": "[DATABASE_ERROR]: Attempt to read the ConditionOrderEntity of this template resulted in too many rows (2) for project [0000000000]",
"status": "INTERNAL"
}
},
"response": {
"statusCode": 500
}
}
I'm trying to retrieve details for the companies where a user is an administrator using the request and projections bellow.
Sometimes it fails with a 500 error code and returns an unknown reason message. If I try again after a long time, it usually works.
Sample request
GET "https://api.linkedin.com/v2/organizationalEntityAcls?q=roleAssignee&role=ADMINISTRATOR&projection=(elements*(*,organizationalTarget~(localizedName,vanityName,logoV2(original~:playableStreams),id)))"
Sample response
{
"elements": [{
"role": "ADMINISTRATOR",
"roleAssignee": "urn:li:person:dV",
"state": "REVOKED",
"organizationalTarget!": {
"message": "URN Resolution failed for unknown reasons.: com.linkedin.r2.RemoteInvocationException: GatewayException{_serviceErrorCode=null}",
"status": 500
},
"organizationalTarget": "urn:li:organization:1"
}, {
"role": "ADMINISTRATOR",
"roleAssignee": "urn:li:person:dV",
"state": "APPROVED",
"organizationalTarget!": {
"message": "URN Resolution failed for unknown reasons.: com.linkedin.r2.RemoteInvocationException: GatewayException{_serviceErrorCode=null}",
"status": 500
},
"organizationalTarget": "urn:li:organization:9"
}]
}
Why is this error happening? Is there any workaround to get this information without falling into the same error?
Thanks!
I'm currently trying to send a notification using the " Try this API " interface of Firebase.
I filled my Request Body with this :
{
"validateOnly": false,
"message": {
"notification": {
"body": "Body",
"title": "Title"
}
}
}
and the RequestParameters with
projects/myprojectid
I didn't check the Google API Key since my project doesn't have one, but I checked the Google OAuth 2.0.
After executing, I get this error :
{
"error": {
"code": 400,
"message": "Recipient of the message is not set.",
"status": "INVALID_ARGUMENT",
"details": [
{
"#type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "message",
"description": "Recipient of the message is not set."
}
]
},
{
"#type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
"errorCode": "INVALID_ARGUMENT"
}
]
}
}
After some research, I don't understand what is missing in the request. Are all the parameters mandatory for the request ?
You're not specifying who the message is for, which is what the error message is trying to tell you. You can do by either including a token key with one of more device tokens, or a topic or condition key in the JSON.
Also see the Firebase documentation on building requests to send a message for more information and examples of each of these.
I'm trying to create an account via google api from symfony using the mediafigaro/google-analytics-api-symfony.
I got my token from jwt with the "**https://www.googleapis.com/auth/analytics.provision**" scope.
But when I send the post request, I got this exception:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "insufficientPermissions",
"message": "Your project does not have access to this feature."
}
],
"code": 403,
"message": "Your project does not have access to this feature."
}
}
I already gave to my service account, the access to the main analytics account
New users trying to setup logins that aren't #google.com are hitting issues using Google Identity Toolkit. This has been working fine for a long time so not sure what's up. Looks like this:
In the console seeing a 500 error coming back when calling this URL:
https://www.googleapis.com/identitytoolkit/v3/relyingparty/setAccountInfo?key=<key>
POST data:
{"email":"nlckeweo#sharklasers.com","displayName":"test","password":"password"}
API response:
{
"error": {
"code": 500,
"message": "Internal error encountered.",
"errors": [
{
"message": "Internal error encountered.",
"domain": "global",
"reason": "backendError"
}
],
"status": "INTERNAL"
}
}