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
I'm attempting to use the "Manage Products" Admin API endpoint ("/admin/products/batch"). The "delete" and "update" operations are causing a 500 server error. My backend logs just say "Cannot read properties of undefined (reading 'map')". Oddly, I have no issues with the "create" operation on this endpoint. For reference, here are the test payloads I used for the "delete" and "update" operations, respectively.
Package.json file
Node.js version
v20.14.0
Database and its version
PostgreSQL 16.4
Operating system name and version
Debian 12.2.0-14
Browser name
No response
What happended?
I'm attempting to use the "Manage Products" Admin API endpoint ("/admin/products/batch"). The "delete" and "update" operations are causing a 500 server error. My backend logs just say "Cannot read properties of undefined (reading 'map')". Oddly, I have no issues with the "create" operation on this endpoint. For reference, here are the test payloads I used for the "delete" and "update" operations, respectively.
Expected behavior
Expecting a 200 response with successful batch product modifications.
Actual behavior
Received a 500 response with no information about the issue (see above).
The text was updated successfully, but these errors were encountered: