Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
ukenstor
New Member

Can not connect to NetSuite from Power Query but can connect with Postman

I am hoping someone can help me connect Power Query to NetSuite.  I am able to connect and run a query using Postman but when I try to duplicate the headers and body in Web.Contents, I get an error of Access to the resource is forbidden.  Any help is very much appreciated.  Here is my power query steps:

 

response = Web.Contents("https://12345.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=customscript_suiteapi&dep...", [Headers=[#"Content-Type"="application/json", Authorization="OAuth realm=""12345"",oauth_consumer_key=""CONSUMERKEY"",oauth_token=""OAUTHTOKEN"",oauth_signature_method=""HMAC-SHA256"",oauth_timestamp=""1705976764"",oauth_nonce=""dVnFfCDMbPW"",oauth_version=""1.0"",oauth_signature=""9hmTQRKY3cgVLLnsrdEcKhg1fDI8w81Wo367rR9f7HA%3D"""]]),

1 REPLY 1
Anonymous
Not applicable

Hi @ukenstor ,

It's hard to tell what the problem is just based on the information available, can you take a screenshot of the complete error message?
Or you can try to connect to NetSuite using other methods. There are three options to get data from the Netsuite service:

1. Purchase the SuiteAnalytics Connect (ODBC) functionality from NetSuite

2. Leverage NetSuite’s Web Query report functionality

3. Leverage API Server
You can refer to the following documentation to try to connect:
Connect NetSuite to Power BI - DataChant
Use the API Server and NetSuite ADO.NET Provider in Microsoft Power BI (cdata.com)
Work with Live NetSuite Data in Power Query (cdata.com)

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors