Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ian 17 posts 57 karma points
    Aug 11, 2021 @ 16:02
    Ian
    0

    We recently inherited a large site that has a few API calls that have started returning 404s.

    The code hasn't changed - i know this because we only inherited the compiled DLLs for the controllers, we didn't get the source code - I'm able to examine them in ILSpy but I don't think they can be updated.

    In the last few weeks though, these have started returning 404s and it's in a crucial part of the site. When I looked at the DLLs, I was surprised to find that the controller doesn't inherit from UmbracoApiController, so Im wondering how it ever worked.

    How else could routing be set up in Umbraco? Can it be set up manually, and if so, where do I look?

    My version is 7.12.3

    Thanks

  • Ian 17 posts 57 karma points
    Aug 12, 2021 @ 08:18
    Ian
    100

    Ok, turns out this was nothing to do with Umbraco. There was a proxy added to the front of the web server in AWS, and other devs had redirected /api/ calls for their own projects not realising there was a conflict.

Please Sign in or register to post replies

Write your reply to:

Draft