Title: Datahub web url returns {"message":"Unable to resolve resource type.","status":400,"code":"InvalidPath","moreInfo":null}

Sunayana Singh 91 Reputation points Microsoft Employee
2020-05-29T06:51:18.873+00:00

When going to our https://farmbeatsdatahub.azurewebsites.net we receive the following response:

{"message":"Unable to resolve resource type.","status":400,"code":"InvalidPath","moreInfo":null}

App Services shows it is running fine. This issue applies to multiple credentials attempting to access the page. Could I troubleshoot this with someone please?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,210 questions
0 comments No comments
{count} vote

Accepted answer
  1. AshokPeddakotla-MSFT 27,801 Reputation points
    2020-05-29T06:59:08.16+00:00

    Farmbeats requests require a resource like Farm, Device, Sensor etc along with a HTTP method like GET, POST, DELETE etc. The error message is indicating that the resource is missing. You can append a farmbeats resource like farm, device, sensor to get appropriate resources.

    Alternate way of doing the same would be to go to swagger endpoint. Here's a swagger link for your service - https://farmbeatsdatahub.azurewebsites.net/swagger/index.html.
    Let us know if that helps

    0 comments No comments

0 additional answers

Sort by: Most helpful