Hi,
We are updating our translations and getting an error when running the command tx pull --minimum-perc 50 --all
It comes back with tx ERROR: Resource foreman.hammer-cli-katello doesn't exist on the server.
but it is registered here Foreman | Resources (transifex.com)
How do you get past this error?
Hello Tom Nook!
It seems like the CLI is looking for a resource which slug is “foreman.hammer-cli-katello”, but the slug of the resource you shared in the link is “hammer-cli-katello”.
Could you please review the content of your .tx/config file; the filter that is pointing to this resource should be something like the following:
[o:foreman:p:foreman:r:hammer-cli-katello]
file_filter = PATH_WHERE_YOUR_TRANSLATION_FILE_IS_LOCATED
source_file = PATH_WHERE_YOUR_SOURCE_FILE_IS_LOCATED
type = FILE_FORMAT
minimum_perc = SOMETHING
resource_name = hammer-cli-katello
Let me know if you see something different;
Regards
Sandy 
1 Like
Hi @Sandy_DLR Sorry for the delay. Here is the config
[main]
host = https://app.transifex.com
[o:foreman:p:foreman:r:hammer-cli-katello]
file_filter = locale//hammer-cli-katello.edit.po
source_file = locale/hammer-cli-katello.pot
source_lang = en
type = PO
minimum_perc = 0
resource_name = hammer-cli-katello
That got past the resource not found, but when I do tx push I get
foreman.hammer-cli-katello - Error while fetching stats, 404, not_found: No Project
resource found with the identifier o:foreman:p:foreman
Hello,
Thank you for sharing the config file with me. To understand the situation better, now the issue is when you do a push, right?
In the config file, you have an error in your file_filter attribute. You need to place the wild card in this path so the translations will be separated by the language code:
- To separate the translations in folders named like the language code of the translation:
file_filter = locale/<lang>/hammer-cli-katello.edit.po

- To separate the translations add the language code on the file name:
file_filter = locale/-hammer-cli-katello.edit.po

Let me know if, after this change, the issue solves.