Pedro Muniz
Pedro Muniz

Reputation: 578

Failed to upload action package to AOG (preview)

I'm getting so many errors trying to create non-english AoG projects with Dialogflow.

The error is:

Failed to upload action package to AOG (preview)
Request contains an invalid argument.
Locale pt-br was selected but the language pt-BR has not been selected.

I did this steps in Dialogflow:

  1. Clicked at create new agent
  2. Set default language to Portuguese(brazilian) - pt-br
  3. Clicked at create button
  4. After working progress, I did this path Integration -> Google Assistant -> Test
  5. The AoG page did not open and I got the error above.

Does someone know how to fix this issues?

Upvotes: 1

Views: 539

Answers (1)

Yüksel Tolun
Yüksel Tolun

Reputation: 336

Did you have an existing Actions on Google project with the same language?

I usually create the AoG project first (when creating non-English Actions) and then I create the Dialogflow agent by going under Actions -> Build -> Custom. When you select the same language in Dialogflow, and click create it should work.

Upvotes: 1

Related Questions