C
C#7d ago
burakmrx

Although I make the same query from an api endpoint, I get different results from different devices

I am fetching product information from an API without any issues, but when I make a request to a different endpoint, I get an HTTP 500 error. The same endpoint works fine when my colleague makes a request from their browser on their computer, but it doesn't work on my browser or other colleagues' browsers. In our project developed using WebAssembly, we are getting an HTTP 500 error. How can I solve this issue?
1 Reply
Pobiega
Pobiega7d ago
500 would indicate a problem on the serverside - check the server logs if its an ASP.NET server, the console output should contain a stacktrace for the exception that caused the 500 as for "works here but not here", that means something is different. A HTTP request contains headers in addition to its body, so make sure you check the entire request for differences