Google cloud monitoring. Log Metrics - no data - google-app-engine

When I create alerting policy based on a user defined logs-based metric there is no data in chart preview and generally alert doesn't work.
I spotted following details :
for some metrics there is no resource / resource labels settings in edit popup
for those metrics that allow to apply resource filters filling in all options results in chart preview load request hitting 400 HTTP BAD REQUEST error with following payload
{
"code":400,
"errors":{
"filter":"filter exceeded length: 255 with length: 286"
},
"success":false,
"error":"Field validation error"
}
Metrics created for a multi-module GAE/J application

Related

Context Carry-over with Alexa Conversations not possible?

I'm new to developing skills for Alexa and I'm following the tutorial "Build Multi-turn Skills Tutorial with Alexa Conversations". I've completed the tutorial up to the module Keep Track of the Conversation with Context Carry-over. Everything works so far but in the section "Replace Values with Slots" under step "r. Scroll down to the section that says Responses and select notifySuccess_getRecommendation_context_carry_over from the drop-down." there is no section "Response templates" in the modal. If I leave it as is I get an Error in the dialog menu:
"getRecommendation" under "API to Invoke" requires the same Response for all API Success / API Failure Dialog Acts.
Where do I find the "Response template" section for Alexa Conversations?
The user interface and some of the validations changed since the tutorial was written. You no longer need to link the response template together with the API in that screen.
Your error is not related to the dropdown. Based on the error you're facing, it sounds like you have annotated your dialogs so that a given API (API_1) is not always assigned the same response template across the API_success turns. Try making sure there only one API success response assigned to each API in your skill.
TL/DR: The UI changed. 2 APIs can share 1 API Success response, but the inverse is not true. Check your skill for 1 API with 2+ responses assigned to 'API Success'.

Stripe payment integration failing CSP

when I try to integrate stripe on to my web application, I am able to get to the card detail page. When I enter test cards and press pay now, I am getting an error that says
refused to frame "http://localhost:3000" because it violates the following Content security policy directive "frame-src-https"
I am using react and backend is nodeJs

Salesforce LiveAgent Domain Whitelisting issue

I am using Salesforce LiveAgent Chat, and below are our configurations,
Chat Deployments:
Allow access to Pre-Chat API: yes
Permitted Domain: I have 4 domains each on new line formatted as "domainname.com"
When a request is placed from my livechat application: https://d.la1-c2-iad.salesforceliveagent.com/chat/rest/Visitor/Availability?Availability.ids=<agent_id>&deployment_id=<chat_id>&org_id=<org_id>
I am gettting response as {"messages":[{"type":"Error","message":{"text":"Domain is not whitelisted for this deployment"}}]}
Though I am getting exception in browser console, Generic Agent Chat is working fine, However Dedicated Agent chat(with specific agent_id) it is not working.
I tried removing permitted domains from chat deployment setting and error no longer appear.

Failed to Send error when sharing notes and pics

I have a mirror-api application i'm writing that takes notes, pictures and video from the users timeline and stores them. For some reason every note and picture I take and send to a contact i inserted through mirror has "Failed to Send" posted on the timeline card in glass. The app however still receives the timeline item. Anyone else having this issue?
You need to setup the timeline subscription (https://developers.google.com/glass/v1/reference/subscriptions/insert) with "UPDATE" item included in the "operation" list.
Mirror API will sending POST queries with the shared card info to your callbackURL endpoint. Accordingly your service should return HTTP Status 200 in response.
The endpoint should have HTTPS connection. To solve this - use ngrok (https://ngrok.com/) if you're developing on localhost or Google's subscription proxy (just google it, i can post more than 2 links now)

Error Uploading image to google cloud storage from Google app engine php app

I am trying to upload images to Google cloud storage using CKeditor4.3.3 image2 plugin from google engine app (php).
POst method return 303 status.
GET returns:
Request URL:http://temporary-blobstore-error.appspot.com/
Request Method:GET
Status Code:500 Internal Server Error
Request Headersview source
I get the following error displayed fromhttp://temporary-blobstore-error.appspot.com/:
Error: Server Error
The server encountered an error and could not complete your request.
Please retry your last submission.
If the problem persists, please contact the person responsible for the application you're using, or, if you are that person, report your problem and mention this error message and the query that caused it.
Following is the Request URL:
[http://v01.mysite.appspot.com/_ah/upload/?aa=ask&cat=2/AMmfu6aYRdoHF3NpG27hJRWyx-RH_Vo5r6NhzqyIK-3YRw7I3OHv_zq6SUYElQKg3phbtFu6GIG_MnltZjS03xNPSDKfA-dmsabvdvdmavdmavmvamdsvmdVMDVAMVmadva-e_rmabsmdvdmsdbmsdbmabdmasbdmasbdmsmdYR2MuM7rBb6dEttPzPYVylmw9/ALBNUaYAAAAAUy-nio2CLZdkumm87rKdUq9oOz1hVJgN/&CKEditor=content&CKEditorFuncNum=0&langCode=en][1]

Resources