Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I'm working on a web API with 2 headers : Authorization and Range. the M code below :
API = Json.Document( Web.Contents("https://apixxxxxxxx.com", [RelativePath="api/1.0/equipments ", Headers = [Authorization="Bearer " & token, Range ="elements=0-5"]]) )
This web API works fine with POSTMAN, but in power query the code return this error about Range Header :
"Expression.Error : 'Range' header must be modified in proprieties or with adequate method.
Parameter name : name
Details :
elements=0-5"
has anyone an idea why Power Query doesn't like Range hearder ?
thanks
I've outlined the solution in the article below. Basically, you'll need to build a Logic App to handle the Range parameter.
@Anonymous I'm also experiencing this problem as referenced here: https://community.powerbi.com/t5/Integrations-with-Files-and/HTTP-Request-Header-quot-Range-quot/m-p/693857#M23316
hi, @Anonymous
It seems that no such question has been raised, I looked through a lot of documents, and do not find about,
You could post at the Issues forum or create a support ticket in Power BI Support to get further help.
Best Regards,
Lin
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |