Forum Discussion
DataSource.Error: Web.Contents failed to get contents from {URL} (404): Not Found; works in Postman
- 4 years ago
Hi JeffManley ,
Check these parts in the query whether they work:
initReq = Json.Document(Web.Contents(baseuri)),newOffset = Json.Document(Web.Contents(uri))[next],newReq = Json.Document(Web.Contents(newUri)),Consider the basic authentication method in Power Query, you can refer this article to encode it in the query:
Encoding basic authentication in an url with Power Query/M language
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi JeffManley ,
Check these parts in the query whether they work:
initReq = Json.Document(Web.Contents(baseuri)),newOffset = Json.Document(Web.Contents(uri))[next],newReq = Json.Document(Web.Contents(newUri)),
Consider the basic authentication method in Power Query, you can refer this article to encode it in the query:
Encoding basic authentication in an url with Power Query/M language
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.