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
}
}
Related
We are in the process of designing a custom build report for our client and have recently stumbled upon a behavior which we could not puzzle. Basically, we are not getting returned the following fields
ad_creative_name
ad_creative_text
ad_creative_title
when sending a GET request as follows:
https://api.linkedin.com/v2/adCreativesV2/136236994?projection=(*,reference~(*))
We're getting a 200 OK response as per below:
"variables": {
"data": {
"com.linkedin.ads.SponsoredInMailCreativeVariables": {
"content": "urn:li:adInMailContent:5139314"
}
}
},
"test": false,
"servingStatuses": [
"RUNNABLE"
],
"type": "SPONSORED_INMAILS",
"version": {
"versionTag": "6"
},
"reference": "urn:li:adInMailContent:5139314",
"changeAuditStamps": {
"lastModified": {
"time": 1624098658000
},
"created": {
"time": 1624035613000
}
},
"review": {
"reviewStatus": "APPROVED"
},
"campaign": "urn:li:sponsoredCampaign:179783044",
"reference!": {
"message": "Unsupported URN domain: li:adInMailContent",
"status": 501
},
"id": 136236994,
"status": "ACTIVE"
}
From the response, you may also notice that we are also getting this warning
"message": "Unsupported URN domain: li:adInMailContent",
"status": 501
We've tried different API requests variations, including specifying different creatives that are active, but to no avail. Also, we were not able to find any info regarding the error above, so we are uncertain what might be causing it.
Thanks!
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!
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"
}
}
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"
}
]
}
}
While using Google Slides API request for batchUpdate request (ref: https://developers.google.com/slides/reference/rest/v1/presentations/request#createimagerequest), even when all images are valid, the library still throws this error, and it has been quite difficult to debug what exactly went wrong. I ensured image to be valid and matched requirements through Google API specs.
If there are better ways to catch specific details, please mention.
Error: Invalid requests[224].updatePageProperties: There was a problem retrieving the specified image.
at Request.DefaultTransporter.wrapCallback_ [as _callback] (/path/to/project/node_modules/google-auth-library/lib/transporters.js:85:15)
at Request.init.self.callback (/path/to/project/node_modules/request/request.js:186:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request.readResponseBody (/path/to/project/node_modules/request/request.js:1081:10)
at Request.EventEmitter.emit (events.js:95:17)
at IncomingMessage.Request.onRequestResponse (/path/to/project/node_modules/request/request.js:1001:12)
at IncomingMessage.g (events.js:180:16)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
And error object looks like:
{
"cause": {
"code": 400,
"errors": [
{
"message": "Invalid requests[224].updatePageProperties: There was a problem retrieving the specified image.",
"domain": "global",
"reason": "badRequest"
}
]
},
"isOperational": true,
"code": 400,
"errors": [
{
"message": "Invalid requests[224].updatePageProperties: There was a problem retrieving the specified image.",
"domain": "global",
"reason": "badRequest"
}
]
}