Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Getting "invalid target" or "invalid game" in Butler?

A topic by RogDolos created Feb 03, 2021 Views: 1,193 Replies: 2
Viewing posts 1 to 2
(1 edit)

Trying to push my first build via Butler and I’m getting “invalid target” or “invalid game” no matter what I seem to choose for butler syntax.

I’m using the latest Butler (v15.20.0) and AFAIK my credentials should be correct? Butler validate works. Have I got something wrong here? I’m able to upload via the web interface, but not via butler.

Moderator(+3)

The correct format of the butler command is the first one you used:

butler push <project_directory> rogdolos/<your_game>:win

That one gave you the error invalid game. This can be caused for a couple of reasons:

  • Did you make sure to create the project page first from the website? butler is for pushing builds on projects that are already created.

  • Did you misspell your game? You typed Parkour_Prototype, to confirm if this is indeed the correct name for your project, go to your project’s page and look at the URL on top, it should look something like https://rogdolos.itch.io/<your_game>. Make sure to copy that value and pass it on the butler command.

Hope this helps :)

Aha! Thank you, checking the URL of my project’s link helped, because it seems that Itch replaces underscores with a dash, so parkour-prototype worked instead.

Your help is very much appreciated. =)

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.