• 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

How To

Here is a revised, unique “How To” title under 65 characters based on your content:

How to Verify and Install the Latest BIOS on HP OMEN 15-en0023dx with Windows 11

Let me know if you’d like it more concise or specific!

January 21, 2026
Wenzhou Reaches CNY1 Trillion GDP, Becomes China’s 28th City to Achieve Milestone
Business

Wenzhou Reaches CNY1 Trillion GDP, Becomes China’s 28th City to Achieve Milestone

January 21, 2026
The 40 Most Beautiful Countries in the World 

1.  Australia
2.  Mexico
3.  Braz
Infotainment

Top 40 Most Beautiful Countries Around the World

January 21, 2026
mallard 1234557 960 720.jpg
AI

Regulations Lag Behind Growth: UK MP Calls for AI Stress Tests

January 21, 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