Question

Request API - concurrency

  • 12 May 2021
  • 1 reply
  • 26 views

 Hi!

I'm developing a custom app which will get data from a server request.

The app invokes a server method which calls a freshservice API method to return data from a certain endpoint.
This works fine when run on one instance.

But behaves differently on multiple instances.

If i have 2 users logged in:
User 1 in chrome browser
User 2 in firefox browser.
And refresh at the same time in both browsers. I get endless loop and many failed api requests.
 "RequestAPI - Received unexpected response from Parent"

 

How can this be achieved without getting this error since it breaks it for both users.
What is the best practice to handle user concurrency?

I've attached an image showing my two console windows for two separate users.


1 reply

Userlevel 3
Badge

@JonathanHoejtoft I would suggest dropping this question over in the Freshworks Developer Community https://community.developers.freshworks.com/ The DevRel team should be able to help you figure out what the issue is. Hope this helps.

Reply