Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Problem you have encountered:
The error "proto: (line 6:3): missing "value" field" is returned when calling the ImportAgent, RestoreAgent, TrainAgent, or other similar interfaces using the Dialogflow Golang SDK. By locating the code and reviewing the documentation, it was found that the error is caused by the absence of the "value" field in the response's "response" field.
Furthermore, I found that although the SDK returned the above error, the query from the Dialogflow console indicates that the API call was successful.
What you expected to happen:
According to the documentation, the expected return should be either an error or a response. Based on the response received, it is returning the response, but it is missing the "value" field. Should the normal behavior be to return the following response data:
Steps to reproduce:
sample code as shown below:
Other information (workarounds you have tried, documentation consulted, etc):
The SDK version is as shown below: