plusDomains.activities.insert response always 403 access forbidden - google-plus

I give all permission like read, write,login. But i get always response:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "forbidden",
"message": "Forbidden"
}
],
"code": 403,
"message": "Forbidden"
}
}

Related

Method: licenseAssignments.listForProduct get Error

y try to get the licenses in the organization but in the page get the next error,
{
"error": {
"code": 503,
"message": "Backend Error",
"errors": [
{
"message": "Backend Error",
"domain": "global",
"reason": "backendError"
}
]
}
}
I don't know if the service has a problem or if I put wrong parameters.
Method: licenseAssignments.listForProduct, i need the licenses per users

INVALID_ARGUMENT error with Google Analytics Reporting API

I'm trying to do a request to the userActivity.search method,
this is the payload that I'm trying to do:
{
"viewId": "<VIEW ID>",
"dateRange": {
"startDate": "7daysAgo",
"endDate": "today"
},
"user": {
"type": "CLIENT_ID",
"userId": "<USER ID>"
}
}
But I'm stuck getting this error:
{
"error": {
"code": 400,
"message": "CLIENT_ID: <ID> not found.",
"status": "INVALID_ARGUMENT"
}
}
The ClientId I get previously at other GA endpoint that list the ClientIds that I need to get more details.
What am I doing wrong?

DB Cursor Failures on Google BigQuery

Need to understand why did the below query failed in GCP BigQuery. What are the possible reasons for failure?
The 3 DB cursors which failed for the script to ingest the data into Mongo:
All 3 were running on the same table, and they get authentication error:
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{
"message": "Login Required.",
"domain": "global",
"reason": "required",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED"
}
}

call ebay api of bulk_migrate_listing then Error 2003

I tried to call https://api.ebay.com/sell/inventory/v1/bulk_migrate_listing, then response code is 2003
My request is :
{
"requests": [
{
"listingId": "160009220563"
}
]
}
Response body like this :
{
"errors": [
{
"errorId": 2003,
"domain": "ACCESS",
"category": "APPLICATION",
"message": "Internal error",
"longMessage": "There was a problem with an eBay internal system or process. Contact eBay developer support for assistance",
"parameters": [
{
"name": "reason",
"value": "Failed to transform underlying error response, see logs."
}
]
}
]
}

Invalid country code when using directory.customers.update

When I call: directory.customers.update with the following info
customerKey: ......
body:
{
"customerDomain": "mydomain.fr",
"alternateEmail": "john.doe#mydomain.be",
"postalAddress": {
"contactName": "John Doe",
"organizationName": "My Domain",
"countryCode": "FR"
}
}
I get {
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Invalid country code"
}
],
"code": 400,
"message": "Invalid country code"
}
}
and this, whatever the country code is
Changing country code is not possible with grandfathered G Suite accounts other than when upgrading to paid version.