Latest Enterprise DNA Initiatives

Get Data from an Rest API with Odata.Feed and Api Key

Hi all,
I am getting the following error message when connecting via OData.Feed against a REST API interface. Does anyone have an idea what the problem is
Here is the M Code:
let
Source = OData.Feed(
https://ExampleURL/external/$metadata#Sales”,
null,
[ODataVersion = 4, ApiKeyName = “Authorization”, Implementation = “2.0”]
)
in
Source
image

Thanks for your help

Hi @Mario, we aim to consistently improve the topics being posted on the forum.

I noticed you didn’t provide a PBIX file. Providing one will help users and experts find a solution to your inquiry faster and better.

A perfect initial question includes all of the following:

  • A clear explanation of the problem you are experiencing
  • A mockup of the results you want to achieve
  • Your current work-in-progress PBIX file
  • Your underlying data file (to allow us to go into Power Query if necessary to transform your data and/or data model – often DAX questions really end up being data modeling solutions)

Check out this thread on Tools and Techniques for Providing PBIX Files with Your Forum Questions

Not completing your data may sometimes cause delay in getting an answer.

Hi @Mario, we’ve noticed that no response has been received from you since July 1st. We are waiting for the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details. Due to inactivity, we’ll be tagging this post as Solved.