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

View all the Fabric Data Days sessions on demand. View schedule

Reply
PWTRyanWhite
Frequent Visitor

Trying to POST with content/type JSON and a Authorization Token in the head using pipelines

Hi,

 

As read in the subject, I'm trying to POST to a URL using a JSON body, which needs a auth token. I included the content type in the header, including the authorization token and am getting a 401: Unauthorized. I can normally ping this API if I don't have the body, or I'm using a GET method. Any help would be great! Here is an image:

 

Screenshot 2024-07-17 135919.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PWTRyanWhite 

 

Please try the following:

 

Make sure that the token you are using is still valid and has not expired.

 

Verify that the token has the permissions required to perform the POST request.

 

Make sure you click on the correct terminal node and that it supports POST requests. Sometimes, endpoints are specific to certain HTTP methods.

 

Regards,

Nono Chen

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @PWTRyanWhite 

 

Please try the following:

 

Make sure that the token you are using is still valid and has not expired.

 

Verify that the token has the permissions required to perform the POST request.

 

Make sure you click on the correct terminal node and that it supports POST requests. Sometimes, endpoints are specific to certain HTTP methods.

 

Regards,

Nono Chen

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

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.