5

Am trying to update dialogflow version for my existing chatbot, but when I am framing url like above, it gives me 404 error. Help me to build the URL.

4
  • Is the Url in the title the exact Url that you tried to call? Commented Aug 9, 2018 at 8:37
  • @gmolau No, it is a sample which is given by google, here is the document url: dialogflow.com/docs/reference/api-v2/rest/v2/projects/getAgent Commented Aug 9, 2018 at 9:16
  • 2
    But did you specify your project_id correctly, i.e. like this: https://dialogflow.googleapis.com/v2/projects/YOUR_PROJECT_ID_HERE/agent? Commented Aug 9, 2018 at 10:00
  • @gmolau, thank you for your answer. Commented Aug 28, 2018 at 11:27

1 Answer 1

10

The {} notation is the Google API HTTP annotation syntax used by Google to indicate that the {} should be replaced by a parameter. In this case, that parameter is named parent, so you can reference it in the documentation below, and it should have the form projects/* where the * should be replaced with your project ID.

So the actual URL you want to use is something more like

GET https://dialogflow.googleapis.com/v2/projects/your-project-id-here/agent
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks prisoner for the explanation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.