phrase / phrase-cli

CLI for the Phrase API
https://developers.phrase.com
MIT License
42 stars 6 forks source link

phrase pull returning Error: 400 Bad Request for... #111

Closed isimpson closed 2 years ago

isimpson commented 2 years ago

Using the latest phrase CLI 2.5.1 on Mac we are now receiving an error from a previously working repository.

This is now blocking our release as it suddenly stopped working and we are unsure why. Some output from the phrase pull command:

Phrase CLI (2.5.1)}
Target file pattern: ./------/Infrastructure/Resources/<locale_code>.lproj/Localizable.strings
Actual file path /Users/------/Infrastructure/Resources/az.lproj/Localizable.strings
LocaleID **********
ProjectID **********
FileFormat {true strings}
ConvertEmoji {true true}
IncludeEmptyTranslations {true true}
KeepNotranslateTags {false false}
Tag {false }
Branch {false }
FormatOptions {false <nil>}
Error: 400 Bad Request for /Users/------/Infrastructure/Resources/az.lproj/Localizable.strings

If you could help us resolve this asap that would be great.

github-actions[bot] commented 2 years ago

Hi there,

Thanks for reaching out to us.

I got touch with the Engineering Team to verify whether something was changed recently and why this is happening. I will update you as soon as I know more.

Apologies for the inconvenience!

Best, Domenica from the Phrase Technical Support Team

Comment by Domenica

github-actions[bot] commented 2 years ago

Hello,

The Engineering Team had a look at the request logs and the issue seemed to be related to the encoding format. They have just released a change that should fix the issue.

Can you please let us know if everything is working correctly now?

Thank you in advance!

Best, Domenica from the Phrase Technical Support Team

Comment by Domenica

github-actions[bot] commented 2 years ago

Hi,

Yes the issue seems to be fixed now.

Many thanks for the quick response :)

Regards, Iain

Comment by Without

isimpson commented 2 years ago

Thanks for quick reaction folks đź‘Ť

github-actions[bot] commented 2 years ago

Hi Iain,

Great, thanks for confirming!

Don’t hesitate to reach out again in case needed.

Have a nice day!

Best, Domenica from the Phrase Technical Support Team

Comment by Domenica