Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
We are using Custom Connector to retrieve data from client API. When using OAuth Authentication how can we handle error responses e.g. "user has no access" or easy as "Data not Found", "Resource not found" 404 error.. all of this within a simple solution e.g. if response state code 404 throw an errror. Could you please point to right direction or give some examples regarding the Authentication error handling issue?
Thank you
Solved! Go to Solution.
Hi @OndrejH
These blogs and videos may be helpful.
Handling HTTP Errors in Power Query and Power BI • My Online Training Hub
Handling HTTP Errors in Power Query and Power BI - YouTube
Official docs:
Handling status codes with Web.Contents for Power Query connectors | Microsoft Docs
Error handling for Power Query connectors | Microsoft Docs
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @OndrejH
These blogs and videos may be helpful.
Handling HTTP Errors in Power Query and Power BI • My Online Training Hub
Handling HTTP Errors in Power Query and Power BI - YouTube
Official docs:
Handling status codes with Web.Contents for Power Query connectors | Microsoft Docs
Error handling for Power Query connectors | Microsoft Docs
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.