question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Validation error in cloud function logs, but not in test simulator?

See original GitHub issue

validation error: {"success":false,"errors":[{"message":"at least one of [items[0].simpleResponse.displayText or speech or expectedInputs[0].inputPrompt.initialPrompts[0].ssml or expectedInputs[0].inputPrompt.initialPrompts[0].textToSpeech or richResponse.items[0].simpleResponse.displayText or richResponse.items[0].simpleResponse.ssml or expectedInputs[0].inputPrompt.richInitialPrompt.items[0].simpleResponse.textToSpeech or finalResponse.speechResponse.textToSpeech or fulfillmentText or data.google.richResponse.items[0].simpleResponse.displayText or data.google.richResponse.items[0].simpleResponse.ssml or data.google.richResponse.items[0].simpleResponse.textToSpeech or payload.google.richResponse.items[0].simpleResponse.textToSpeech or payload.google.richResponse.items[0].simpleResponse.displayText or payload.google.richResponse.items[1].simpleResponse.textToSpeech or payload.google.richResponse.items[1].simpleResponse.displayText or fulfillmentMessages[0].simpleResponses.simpleResponses[0].textToSpeech or fulfillmentMessages[0].simpleResponses.simpleResponses[0].displayText] needs to be present in post body"}]}

The above is showing every time I successfully show a list selector with 28 items in it, the error message is not however showing within the test simulator. Sometimes when I click on the list selector it doesn’t seem to trigger the inbuilt confirmation intent, possibly unrelated?

Do I need to worry about the above? Could it be interfering with the functionality of the list?

Cheers 👍

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
andyvanhelsingcommented, Jan 12, 2019

I opened an issue on their github https://github.com/actionably/dashbot/issues/30

0reactions
andyvanhelsingcommented, Jan 12, 2019

I did a little peaking around dashbot and there’s a way to turn off statements by adding configurations when dashbot is declared:

const dashbot = require('dashbot')(YOUR_KEY,{printErrors: false}).google;

I have it deployed and it’s working so far

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Cloud Functions - Google Cloud
Cloud Functions deployment can fail if the entry point to your code, that is, the exported function name, is not specified correctly. The...
Read more >
Write and view logs | Cloud Functions for Firebase - Google
Logging is an important tool for debugging and monitoring code. Cloud Functions gives you the option of using its logger SDK, custom Google...
Read more >
Google Cloud Function: lazy loading not working
The Cloud Functions can fail due to several reasons such as uncaught exception and internal process crashes, therefore, it is required to ...
Read more >
Monitoring and Logging for Cloud Functions
Do not use your Google Cloud Skills Boost credentials. Note: Using your own Google Cloud account for this lab may incur extra charges....
Read more >
Event Driven Data Validation with Google Cloud Functions ...
Ensure you have set your ${PROJECT} and ${BUCKET} (data bucket) environment variables. Also ensure that you have enabled the relevant APIs and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found