Forum Discussion
Web.Contents failed to get contents from (405):
Hi ,
When trying to connect to an API, i am getting the above error in power bi desktop. Not sure what should be done to get data from the API. I am using basic authentication method. Any suggestion would help.
Thanks,
Priyanga
- Anonymous3 years ago
Hi Anonymous,
The 405 error normally means you are using some 'not allow' methods in these requests, perhaps you can change these parts of definitions in your data connector to fix this issue.
405 Method Not Allowed - HTTP | MDN (mozilla.org)
In addition, can you please share some more detail about the operations? I think they will help us clarify your scenario and troubleshoot.Regards,
Xiaoxin Sheng
3 Replies
- AnonymousNot applicable
Hi Anonymous,
The 405 error normally means you are using some 'not allow' methods in these requests, perhaps you can change these parts of definitions in your data connector to fix this issue.
405 Method Not Allowed - HTTP | MDN (mozilla.org)
In addition, can you please share some more detail about the operations? I think they will help us clarify your scenario and troubleshoot.Regards,
Xiaoxin Sheng
- AnonymousNot applicable
Thanks Anonymous , actually it was not an issue at all. I was using POST API instead of GET API. Able to connect now.
- lbendlinSuper User
Needs more details. Are you calling a POST method where only GET is allowed?