Anyone familiar with Automatic Location Assignments?
I enabled the feature and created a roundabout way to call it via a button press (userevent script to render a button conditionally, client script to redirect to a suitelet that invokes executeMacro({ id: 'autoAssignLocations' });) for orders we deem viable for it. I configured a location and created a test order that has one line with one item in stock at the configured location. It fails with an unhelpful unexpected error and no further details.
The strange thing is that it works in our sandbox account using the same configuration and test order, but it has also failed on other orders in sandbox in the same way. I can't find any pattern to why it's failing though.