• About Us
  • Contact Us
  • Advertise
  • Privacy Policy
  • Guest Post
No Result
View All Result
Digital Phablet
  • Home
  • NewsLatest
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones
  • AI
  • Reviews
  • Interesting
  • How To
  • Home
  • NewsLatest
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones
  • AI
  • Reviews
  • Interesting
  • How To
No Result
View All Result
Digital Phablet
No Result
View All Result

Home » How to Fix 401 Error When Testing Foundry Model (Sonnet45) on Azure

How to Fix 401 Error When Testing Foundry Model (Sonnet45) on Azure

DP Staff by DP Staff
January 10, 2026
in How To
Reading Time: 1 min read
A A
How to Fix Azure Student Subscription Region Error
ADVERTISEMENT

Select Language:

To get started, you’ll need to run a specific command called a curl command. First, make sure to replace “yourfoundryname” with your actual foundry name and “Your_Token_here” with your API key. Also, change the model name if you’re using a different one.

ADVERTISEMENT

Here’s what you should do:

Copy and paste the following command into your terminal or command prompt:

curl -X POST “https://yourfoundryname.cognitiveservices.azure.com/openai/responses?api-version=2025-04-01-preview” -H “Content-Type: application/json” -H “Authorization: Bearer Your_Token_here” -d ‘{“model”:”gpt-5-mini”,”input”:[{“role”:”user”,”content”:”I am going to Paris, what should I see?”},{“role”:”assistant”,”content”:”Paris is famous for its architecture, museums, and landmarks like the Eiffel Tower, Louvre, and Notre-Dame Cathedral.”},{“role”:”user”,”content”:”What is so great about #1?”}]}’

ADVERTISEMENT

Make sure to swap out “yourfoundryname” with your actual project’s name and put your API key in place of “Your_Token_here”. Also, if you’re using a different model, change “gpt-5-mini” to that model’s name.

When you run this command, you’re asking the system to send a message asking about what to see in Paris, then giving a quick answer, and finally asking what makes a particular landmark so special.

After running the command, you’ll get a response in a specific format. This reply will include information about the Eiffel Tower, detailing what makes it unique and helpful tips for visiting. It will also offer suggestions like buying tickets early, visiting at different times, and some spots for great photos.

If you want help booking tickets, planning your visit, or have specific dates in mind, you can follow up with those details. This way, you’ll be ready for a smooth and enjoyable trip to Paris.

ChatGPT ChatGPT Perplexity AI Perplexity Gemini AI Logo Gemini AI Grok AI Logo Grok AI
Google Banner
ADVERTISEMENT
DP Staff

DP Staff

Related Posts

AI

Global First Full-Size Humanoid Robot Bolt Reaches 10 m/s Speed

February 2, 2026
Approval Ratings of World Leaders 

1.  Narendra Modi – 71%
2.  Sanae Takaichi –
Infotainment

Top Approval Ratings of World Leaders 2023

February 2, 2026
How To Migrate React App to Server Components for Better Performance and Security
How To

How To Migrate React App to Server Components for Better Performance and Security

February 2, 2026
AWS Security: Handling Sophisticated Attacks & Collaborating with Authorities
How To

How to Switch AWS Aurora Global Cluster from Standard to IOPS-Optimized

February 2, 2026
Next Post
30 Must-Watch Biopics Based On Real Lives And Stories

1.  Lincoln (2012)
2.  Op

Top 30 Must-Watch Biopics Based on True Lives and Stories

  • About Us
  • Contact Us
  • Advertise
  • Privacy Policy
  • Guest Post

© 2026 Digital Phablet

No Result
View All Result
  • Home
  • News
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones

© 2026 Digital Phablet