Skip to main content
replaced http://stackapps.com/ with https://stackapps.com/
Source Link

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

I am using the StacManStacMan library:

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

I am using the StacMan library:

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

I am using the StacMan library:

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;
added 89 characters in body
Source Link
Tim Stone
  • 4.7k
  • 3
  • 22
  • 32

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

Edit

I am using StackExchange.StacMan .

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List { CommentIdthe }, access_token: TokenAccess, filter: "", previewStacMan library: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

Edit

I am using StackExchange.StacMan .

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

I am using the StacMan library:

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List<int> { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;
added 468 characters in body
Source Link
hesam
  • 31
  • 1
  • 4

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

Edit

I am using StackExchange.StacMan .

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error number 500 what is wrong? more over I am passing Access_token by write access.

{"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"}

Edit

I am using StackExchange.StacMan .

public StacManClient _StacManClient = new StacManClient(key: "my_key", version: "2.2");

var responsedownvote = _StacManClient.Questions.downvote(SiteSearch, id: new List { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

var responseupvote= _StacManClient.Questions.upvote(SiteSearch, id: new List { CommentId }, access_token: TokenAccess, filter: "", preview: true).Result;

Source Link
hesam
  • 31
  • 1
  • 4
Loading