Is there a limit in the number of variants in the ProductCreate mutation?

antoncare
New Member
1 0 0

Hello,

I am using the graphql api and both in our custom app and in the graphql explorer that we test the calls, when we try to create a new product with 84 variants (colors) the api returns: 

{
  "message": "The server responded with invalid JSON, this is probably a server-side error",
  "response": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" />\n    <meta name=\"referrer\" content=\"never\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>Something went wrong</title>\n    <style 

The input json is valid and we have verified it. If we remove variants the call works so I believe there is a limitation to the number of variants that this call can accept.

Replies 0 (0)