question

sunayana avatar image
1 Vote"
sunayana asked azure-cxp-api edited

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

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?

azure-farmbeats
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AshokPeddakotla-MSFT avatar image
0 Votes"
AshokPeddakotla-MSFT answered AshokPeddakotla-MSFT edited

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.