RestClient and 500 errors

280 views
Skip to first unread message

John Connolly

unread,
Aug 19, 2020, 10:14:05 AM8/19/20
to RestSharp
I am new to RestSharp so I appreciate everyone's patience.
I have built a Visual Studio vb.net application that uses RestSharp to make API Calls to a site.  I installed the application for a user and she was getting a lot of status 500 errors returned when trying to make some RestClient calls.  Everything was working fine but then she got a new PC and then all these 500 errors started happening.  I upgraded her restsharp.dll to 106.11.4.0  from 106.11.0.0 and it started working again, for now but I should know more with time.  I guess what I am looking for is some guidance or advice regarding this scenario.  Any shared experiences would be great.

Alexey Zimarev

unread,
Aug 20, 2020, 2:42:23 AM8/20/20
to RestSharp
Start by checking the server response. 500 is the server error and proper APIs give you a reason for failure.

John Connolly

unread,
Aug 20, 2020, 8:09:18 AM8/20/20
to rest...@googlegroups.com
Alexey,

I appreciate your response and patience.
I am not sure if I am supposed to reply to you or the correct way to respond but I am just going to reply.

The error message in the JSON is:
500 - Internal server error. Please contact Qualtrics support. "errorCode":"BRE_0.2"

Qaultrics said that this error is common 5% of the time.
But the client I installed my vb.net application on had 4 of these within 20 minutes.

Also I upgraded the RestSharp.dll to 106.11.4.0 and she immediately was able to make about 20 calls with no errors.
This may be the solution but I wanted to post this question to see if anyone had any feedback on what I have done or any other information


REgards,
John Connolly

On Thu, Aug 20, 2020 at 2:42 AM Alexey Zimarev <azim...@gmail.com> wrote:
Start by checking the server response. 500 is the server error and proper APIs give you a reason for failure.

--
You received this message because you are subscribed to a topic in the Google Groups "RestSharp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/restsharp/0NX_AkzyNtE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to restsharp+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/restsharp/e1507fcf-27f7-47fa-9e86-62f2bba77d86o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages