I have migrated data from magento 1.9 to magento 2.2.4, Now in admin when i view shipment under sales -> Shipments it gives me 404 error. How am i suppose to debug? I have checked the .phtml file from where the form is displayed on view but it is not reaching over there. when is go to sales -> Order -> edit -> shipments in left panel it is working fine when i view shipment Any help would be appreciated

enter image description here

enter image description here

  • Can you flush cache, reindex and test again? Oct 22, 2018 at 13:13
  • I tried still same..
    – Arjun
    Oct 22, 2018 at 13:17
  • @Arjun, can you paste your 404 error URL here ? Oct 22, 2018 at 13:48
  • is this shipment id 107636 is visible in shipment grid ? Oct 23, 2018 at 7:15
  • yes it is visible in grid. Even i am able to see the view in sales->order->shipment but not in sales->shipments
    – Arjun
    Oct 23, 2018 at 8:33

2 Answers 2


It looks like a routing issue, forwarding action to the other controller doesn't work as expected.

Can you try changing the below file around line 49


                ->setModule('adminhtml')    // Change admin to adminhtml        

This seems to be a known issue that is fixed and the fix will come with 2.3.*

See here https://github.com/magento/magento2/issues/12206 for the full thread and possible patches.

  • I have checked the link you provided but my 404 page as i mentioned is when i try to view sales -> shipment -> view in admin + i have checked this on fresh magento 2.2.4 and it is working fine so i feel like it is related to data migration
    – Arjun
    Oct 29, 2018 at 5:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.