manishkatyan / strapi-google-translator

Translate Strapi collections into multiple languages using Google Cloud Translation
10 stars 8 forks source link

Unable to save translation : error 405 #17

Open belikebrahma opened 1 year ago

belikebrahma commented 1 year ago

image

Hi,

Thanks for the wonderful plugin, i installed and set it up as per the instructions but facing a problem.

It seems the translate api is working but data is not getting back into the strapi, I have added a full access api in the env file.

On production the error says - Unable to save translation : Request failed with status code 405

Any idea, why it is happening? Is there anything missing?

image

darokviana commented 1 year ago

Have you checked the character limit on your fields yet? With me, I had the problem that the translation had more characters than the original text, exceeding the stipulated limit and being rejected by the database. Hope this helps someone.

KindCoder-no commented 1 year ago

Same error. How do i check if the translation is exceeding the stipulated limit and being rejected by the database?

nishekh-e-r commented 1 year ago

@belikebrahma I just wanted to know if the above error is occurring for all the collection types or just a particular one.

KindCoder-no commented 1 year ago

It is occurring on all of my collections. I get another error when changing the backendUrl to http://127.0.0.1:1337. Skjermbilde 2023-04-26 kl  10 46 45