-
-
Notifications
You must be signed in to change notification settings - Fork 447
Description
Description
The routes aren't working properly. The create is returning a graphql error:
{
"status": "success",
"response": {
"type": "graphql-error",
"error": {
"name": "GraphQLServerError",
"source": {
"errors": [
{
"message": "A server error noncoercible_variable_value occured. Check server logs for details.",
"severity": "CRITICAL",
"code": 1675012,
"api_error_code": null,
"summary": "Your Request Couldn't be Processed",
"description": "There was a problem with this request. We're working on getting it fixed as soon as we can.",
"description_raw": "There was a problem with this request. We're working on getting it fixed as soon as we can.",
"is_silent": false,
"is_transient": false,
"is_not_critical": false,
"requires_reauth": false,
"allow_user_retry": false,
"debug_info": null,
"query_path": null,
"fbtrace_id": "G+vGbFuqotQ",
"www_request_id": "Am-AxIunKjQ_UtqKEE4r4cC"
}
]
}
}
},
"session": "3258"
}
And the edit is only changing the name, we can't change (add ou remove) the products
Environment
- WPPConnect version(s): X.Y.Z
- WA-JS version(s): X.Y.Z
- Browser: Chromium XX
- OS: Windows X
- Node version: Node 20
- WhatsApp version: X.YYYY.ZZ
- MultiDevice (BETA): yes/no
Steps to Reproduce
- Create a product
- Try to create a collection with it
- Create the collection manualy
- Try to edit it with /edit
Log Output
If relevant, paste all of your Log Output
Your Code
If relevant, paste all of your challenge code in here
Additional context / Screenshot
I've noticed that the wa-js expect other names on the payload, like productsIds and collectionName but I don't know how to correct it