Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commanded.new is not working with Miro #1

Open
parth-patil opened this issue Jun 26, 2021 · 3 comments
Open

commanded.new is not working with Miro #1

parth-patil opened this issue Jun 26, 2021 · 3 comments

Comments

@parth-patil
Copy link

parth-patil commented Jun 26, 2021

When I run
mix commanded.new auctioneer --miro o9J_l9SPDEU=

I get the following error
** (MatchError) no match of right hand side value: {:error, "No authorization data was found on the request"} (commanded_generator 1.2.0) lib/commanded/generator/project.ex:49: Commanded.Generator.Project.build_model/3 (commanded_generator 1.2.0) lib/mix/tasks/commanded.new.ex:97: Mix.Tasks.Commanded.New.generate/4 (mix 1.11.4) lib/mix/task.ex:394: Mix.Task.run_task/3 (mix 1.11.4) lib/mix/cli.ex:84: Mix.CLI.run_task/2

My Miro board is public

@basilenouvellet
Copy link

You might want to run the command with your Miro REST API access token as an env var:

MIRO_ACCESS_TOKEN=<your-access-token> mix commanded.new PATH --miro BOARD_ID

@quarterpi
Copy link

How did you get a token? Did you have to setup a developer team with Miro?

@jdewar
Copy link

jdewar commented Sep 1, 2021

My Miro board is public

I thought mine was too as I'm using a free account, but I still needed this.

How did you get a token? Did you have to setup a developer team with Miro?

I just solved this mystery; yes you start up a dev team and more. I followed this through step 4: https://developers.miro.com/docs/getting-started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants