Reporting API (404) - The controller for [...] was not found or does not implement IController

Officially Answered

Comments

7 comments

  • Official comment
    Avatar
    dev

    We apologize for the issue you are experiencing.
    API was changed, you can get information about Model and parameters at Configuration->API->Timetracker API reference:
    includeBillable parameter and several new fields were added to model.
    We are very sorry for this inconvenience. We are discussing our API development approach to prevent such cases in future.

    Andarth

    Comment actions Permalink
  • Avatar
    Frank Vanderlinden

    I've got the same problem, any view on a solution ?

    0
    Comment actions Permalink
  • Avatar
    Paola Andrea González Montoya

    It's happening again :(

    0
    Comment actions Permalink
  • Avatar
    Permanently deleted user

    Paola, is it happening even after you add includeBillable parameter into your request?

    --
    Maxim

    0
    Comment actions Permalink
  • Avatar
    Paola Andrea González Montoya

    Yep... I'm using the API inside PowerApps from Microsoft, and I get this error...

    <h2> <i>The resource cannot be found.</i> </h2></span>

    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

    <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.
    <br><br>

    <b> Requested URL: </b>/webapi/odata/TimeExport(StartDate=2017-03-30,EndDate=2017-03-30,PopulateTopParentColumns=false,GroupTimeByDateByUser=false,IncludeBillable=true)<br><br>
    0
    Comment actions Permalink
  • Avatar
    Permanently deleted user

    Is anyone still having this or similar issue?

    0
    Comment actions Permalink
  • Avatar
    Chris Johnson

    Yes, I'm getting the same error. This is brand new TFS 2018 on prem environment with Time Tracker 4 installed.

     

    Unhandled Exception: Microsoft.OData.Client.DataServiceQueryException: An error
    occurred while processing this request. ---> Microsoft.OData.Client.DataServiceC
    lientException: <!DOCTYPE html>
    <html>
        <head>
            <title>The resource cannot be found.</title>
            <meta name="viewport" content="width=device-width" />
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:bl
    ack;}
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5p
    x}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red
    }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maro
    on }
             pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;m
    argin:0;padding:0.5em;line-height:14pt}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy;
    cursor:hand; }
             @media screen and (max-width: 639px) {
              pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap:
    break-word; }
             }
             @media screen and (max-width: 479px) {
              pre { width: 280px; }
             }
            </style>
        </head>

        <body bgcolor="white">

                <span><H1>Server Error in '/' Application.<hr width=100% size=1 colo
    r=silver></H1>

                <h2> <i>The resource cannot be found.</i> </h2></span>

                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">


                <b> Description: </b>HTTP 404. The resource you are looking for (or
    one of its dependencies) could have been removed, had its name changed, or is te
    mporarily unavailable. &nbsp;Please review the following URL and make sure that
    it is spelled correctly.
                <br><br>

                <b> Requested URL: </b>/api/OET/TimeExport(StartDate=&#39;2017-10-19
    &#39;,EndDate=&#39;2018-01-19&#39;,PopulateTopParentColumns=null,GroupTimeByDate
    ByUser=null,IncludeBillable=null)<br><br>

                <hr width=100% size=1 color=silver>

                <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.
    0.30319; ASP.NET Version:4.7.2106.0

                </font>

        </body>
    </html>
    <!--
    [HttpException]: The controller for path &#39;/api/OET/TimeExport(StartDate=&#39
    ;2017-10-19&#39;,EndDate=&#39;2018-01-19&#39;,PopulateTopParentColumns=null,Grou
    pTimeByDateByUser=null,IncludeBillable=null)&#39; was not found or does not impl
    ement IController.
       at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestConte
    xt requestContext, Type controllerType)
       at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext re
    questContext, String controllerName)
       at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext,
    IController& controller, IControllerFactory& factory)
       at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext,
     AsyncCallback callback, Object state)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplica
    tion.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& compl
    etedSynchronously)
    --><!--
    This error page might contain sensitive information because ASP.NET is configure
    d to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Conside
    r using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&g
    t; in production environments.-->
       at Microsoft.OData.Client.QueryResult.ExecuteQuery()
       at Microsoft.OData.Client.DataServiceRequest.Execute[TElement](DataServiceCon
    text context, QueryComponents queryComponents)
       --- End of inner exception stack trace ---
       at Microsoft.OData.Client.DataServiceRequest.Execute[TElement](DataServiceCon
    text context, QueryComponents queryComponents)
       at Microsoft.OData.Client.DataServiceContext.InnerSynchExecute[TElement](Uri
    requestUri, String httpMethod, Nullable`1 singleResult, OperationParameter[] ope
    rationParameters)
       at Microsoft.OData.Client.DataServiceContext.Execute[TElement](Uri requestUri
    , String httpMethod, Boolean singleResult, OperationParameter[] operationParamet
    ers)
       at Microsoft.OData.Client.DataServiceQuery`1.Execute()
       at Microsoft.OData.Client.DataServiceQuery`1.GetEnumerator()
       at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
       at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
       at TimetrackerOdataClient.Program.Main(String[] args) in C:\CodeProjects\Time
    TrackerOData\timetracker-api-samplecode-master\TimetrackerOdataClient\Program.cs
    :line 28

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk