poedit icon indicating copy to clipboard operation
poedit copied to clipboard

Sync with Crowdin does not work for new project members

Open YevgenBorodkin opened this issue 3 months ago • 2 comments

Hi, The problem: new Crowdin accounts can "Sync" using a file only after making a change to the translation on the website.

I created a brand new Crowdin account to update Ukrainian translation. After making changes to the po file, I was trying to sync it but was getting 403 (forbidden) errors. Debugging the app, I could see that the first call to upload the file to "storage" was successful. And only the second POST call (projects/53425/translations/uk) was failing with 403. I tried several times, always getting 403.

But after I updated (and saved) one single string on Crowdin website, "Sync" in Poedit started to work. I have not contacted Crowdin support to see if this is an issue on their side.


Yevgen

YevgenBorodkin avatar Oct 07 '25 18:10 YevgenBorodkin

How can a situation when the server returns 403 Forbidden (i.e. a user permission issue) possibly by client-side problem?

Poedit is open-contribution project, so my working theory is that the API returns 403 if a user is not a member of the project (which you weren’t at the point) and doesn’t add them automatically (as using the web editor does).

I’ll need to ask Crowdin how to best handle this...

(P.S. The spelling is “Crowdin” and “Poedit”...)

vslavik avatar Oct 08 '25 09:10 vslavik

How can a situation when the server returns 403 Forbidden (i.e. a user permission issue) possibly by client-side problem? It is a server error (403) unless additional steps were missed for onboarding a user to a project. If this is "by design" from server side, Poedit will have to update the documentation.

I’ll need to ask Crowdin how to best handle this... I created a new post on Crowdin community forum yesterday, put so far it is still not approved. I think it is a good idea to ping them one more time, as you should have closer relationship with them

YevgenBorodkin avatar Oct 08 '25 15:10 YevgenBorodkin