New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Malformed UTF-8 characters, possibly incorrectly encoded #2316
Comments
This is related too #2289 Apply the patch from there to have the exception behind that. |
You should see the SQL error which is happening with your API request |
@shyim An exception occurred while executing 'INSERT INTO |
We added a unique key there to forbid duplicate keys. |
PHP Version
7.4.26
Shopware Version
6.4.7
Expected behaviour
Using the Admin API, trying to update product variants should work
Actual behaviour
Using the Admin API, trying to update product variants doesn't work and throws this error: "Malformed UTF-8 characters, possibly incorrectly encoded" which I saw it's happening when you send some non existing ids to shopware. The ids that I send to shopware are valid, I checked them.
How to reproduce
Use the endpoint /api/_action/sync to create some product variants, and then try to use it to update them and the error will happen.
Using v6.4.0 works fine.
The text was updated successfully, but these errors were encountered: