Skip to main content

Notifications

Topic Creation & Management
Unanswered

How to troubleshoot HttpRequest?

Posted on by

I have an Http Request defined that when called within Chat generates an exception:

 

Error Message: HTTP request failed with status code 500 InternalServerError. Error Code: HttpRequestFailure Conversation Id: 35f19bfd-e3dc-4c83-bee5-45a97f6dcfc8 Time (UTC): 2024-01-20T01:42:29.926Z

 

How do I go about troubleshooting this? ErrorCode and ErrorMessage doesn't provide me much of the detail. Can I get access to the body of response I received from the server? 

 

What are the tools available to troubleshoot / debug such cases?

  • citron-truc Profile Picture
    citron-truc 395 on at
    Re: How to troubleshoot HttpRequest?

    Hello,

     

    I hope you are doing well. In order to troubleshoot http requests, I recommend using Postman beforehand (https://www.postman.com/ ). It's a website that lets you send http requests for free.
    When I would get an error, I would ask copilot to send the faulty credentials in the chat and then try them in postman (not great security-wise, don't deploy a copilot that sends its credentials in the chat).

    Have a great day !

  • nesrivastava Profile Picture
    nesrivastava on at
    Re: How to troubleshoot HttpRequest?

    @Woland

    Have you tried looking into the browser trace? It can be helpful. For instance, when I generated the error and ran the network trace, I could see that my key value doesn't match with the entity.

    Alternatively, you can also refer to this documentation: https://learn.microsoft.com/en-us/microsoft-copilot-studio/error-codes

     

    nesrivastava_0-1706561759322.png

     



Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 137,998

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics