GCP Workflow: serving is disabled for this workflow - google-cloud-platform

I have error in GCP Workflow which says:
{
"error": {
"code": 400,
"message": "serving is disabled for this workflow",
"status": "FAILED_PRECONDITION"
}
}
Could someone please help to understand how to enable serving?

Related

how to create schedule live with facebook live api?

I can not create a schedule live broadcast with live api.
this is my request:
https://graph.facebook.com/{page_id}/live_videos
{
"event_params":{
"start_time":1670053893,
"cover":"https://my-domain/product_system_back/product_img/2ad1e2baee4e4e2f8eb4.jpg"
},
"title":"freferfge",
"description":"ewferferfer",
"access_token":"my token",
"status":"SCHEDULED_LIVE",
"published":false
}
but i got the response:
{
"error": {
"message": "(#100) You need to set a planned start time for a scheduled broadcast",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "AqvtD5W1wJSrpy30V0aigGR"
}
}
Is anything wrong?

Getting the following error when tried to deploy node js app on Google Cloud

This is my first time using Google Cloud and I tried to send it. As per the tutorial on YouTube, I have a app.yaml file which looks like this:
runtime: nodejs
env: flex
When I ran gcloud app deeply, it failed. In the terminal, there was an error, and it told me to go to this page for the full details, and here is what the page gave me:
{
"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"
}
}
PS: I am not trying to do any google authentication on my website.
Here is what I got in my terminal, it is a bit messy:
Updating service [default] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] Flex operation projects/turing-problems/regions/us-east1/operations/0cfe7722-014c-4834-b184-00b9e4961379 error [INTERNAL]: An internal error occurred while processing task /appengine-flex-v1/insert_flex_deployment/flex_create_resources>2020-07-24T16:34:33.630Z4931.jc.12: Deployment Manager operation turing-problems/operation-1595608474469-5ab328c52462a-0c83d4d8-c6c54fdd errors: [code: "RESOURCE_ERROR"
location: "/deployments/aef-default-20200724t123246/resources/aef-default-20200724t123246"
message: "{\"ResourceType\":\"compute.beta.regionAutoscaler\",\"ResourceErrorCode\":\"403\",\"ResourceErrorMessage\":{\"code\":403,\"message\":\"The caller does not have permission\",\"status\":\"PERMISSION_DENIED\",\"statusMessage\":\"Forbidden\",\"requestPath\":\"https://compute.googleapis.com/compute/beta/projects/turing-problems/regions/us-east1/autoscalers\",\"httpMethod\":\"POST\"}}"
]

azure ad user provisioning with g suite

We have integrated G suite with Azure AD as an enterprise app and which supports SAML. We are also enabling auto user provisioning means If a user is added on the Azure enterprise app then it should be provisioned on google suite app via auto user provisioned. Now we have added many groups and users but few of them facing this issue. It seems to me azure ad sending the user to google app however when the request reaches to Google suite app they reject it although we have checked request and found it did not reach to google app and throwing an error ?
"Not Authorized to access this resource/api" } ], "code": 403, "message": "Not Authorized to access this resource/api" } } Web Response: { "error": { "errors": [ { "domain": "global", "reason": "forbidden", "message": "Not Authorized to access this resource/api" } ], "code": 403, "message": "Not Authorized to access this resource/api" } } . This operation was retried 0 times. It will be retried again after this date:

Facebook Graph API upgrade to 2.6 causing auth failure

I am trying to upgrade Facebook Graph API version from 2.5 to 2.6
with changing the auth endpoint from "oauth/device" to "device/login" and getting following response
{
"error": {
"message": "(#191) redirect_uri is not owned by the application.",
"type": "OAuthException",
"code": 191,
"error_data": {
"name": "redirect_uri"
},
"fbtrace_id": "FPupgVUcj/I"
}
}
I have checked on the backend settings of my app, redirect uri is superset of saved Website uri there.

Permissions error in sandbox mode

I created a sandbox ad account as described in https://developers.facebook.com/ads/blog/post/2016/10/19/sandbox-ad-accounts/. I have generated an access token in the same section that lists my sandbox ad account.
I'm getting a permissions error when I request ad labels for the ad account. Anybody know where I'm going wrong?
Request:
https://graph.facebook.com/v2.8/act_{{adAccountId}}/adlabels?access_token={{accessToken}}
Response:
{
"error": {
"message": "(#200) Permissions error",
"type": "OAuthException",
"code": 200,
"fbtrace_id": "FUB5kNhmuyX"
}
}