When I try to explore a commerce product, so e.g. /jsonapi/products/audio the page turns blank with the error in console:

main.js:19365 Uncaught (in promise) Error: Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=FieldValue for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
    at main.js:19365:286
    at S (main.js:19384:349)
    at Jh (main.js:19387:426)
    at mj (main.js:19468:277)
    at jj (main.js:19437:164)
    at Z (main.js:19431:471)
    at $i (main.js:19427:372)
    at main.js:19335:115
    at exports.unstable_runWithPriority (main.js:19538:134)
    at vf (main.js:19334:325)

This doesn't happen with a clean D9 Drupal install + commerce, aka the explorer works fine.

However, I have already done many customization to commerce's products, so it is difficult to understand what could break the json api explorer module.

Is there a way to debug\get a more explicative message to try to identify the cause of this error?

Comments

Giuseppe87 created an issue.

kevinquillen’s picture

Where does this file come from exactly? I cannot get the module to work at all and I see this in the console.