You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
When using product metadata, the resulting PUT query to Woocommerce contains a "attributes" array whose values IDs are string litterals, whereas Woocommerce expects an integer ID.
Product synchronisation fails with error message
"{'code':'rest_invalid_param','message':'Paramètre(s) non valide(s) : attributes','data':{'status':400,'params':{'attributes':'Le paramètre attributes[0][id] n’est pas de type integer.'},'details':{'attributes':{'code':'rest_invalid_type','message':'Le paramètre attributes[0][id] n’est pas de type integer.','data':{'param':'attributes[0][id]'}}}}}"
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The condition to include product attributes uses the metadata flag from the database (https://github.com/OPEN-DSI/ecommerceng_woosync/blob/2022.5.3/class/data/woocommerce/eCommerceRemoteAccessWoocommerce.class.php#L2778)
When using product metadata, the resulting PUT query to Woocommerce contains a "attributes" array whose values IDs are string litterals, whereas Woocommerce expects an integer ID.
Product synchronisation fails with error message
"{'code':'rest_invalid_param','message':'Paramètre(s) non valide(s) : attributes','data':{'status':400,'params':{'attributes':'Le paramètre attributes[0][id] n’est pas de type integer.'},'details':{'attributes':{'code':'rest_invalid_type','message':'Le paramètre attributes[0][id] n’est pas de type integer.','data':{'param':'attributes[0][id]'}}}}}"
The text was updated successfully, but these errors were encountered: