Edhart Jones
Posts: 0
Joined: Sun Nov 01, 2015 2:07 am

Service - Failed to "Import as Response" in Test Page

I'm still pretty novice to server-side scripting. So I inputted the URL, applied the required parameter in the Query String page, and I go to test for a response. The webpage would become really slow with freezes, and my browser have had prompted me to kill the process or wait for this page to respond. After a few minutes, I got a response, and I noticed the scroll bar was pretty small, meaning a really huge list, and it's in JSON. The webpage is still horribly slow to scroll or click anything at all.

This always happens as I retest several times. On the last time I spam-clicked Import as Response button and waited another few minutes. I got an error saying [invalid format. Please try again].

The response seems to be an array, with the first index an object of array, and the second index as an object. My text editors also suffered lag when I try to scroll through it so I really need help here.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Service - Failed to "Import as Response" in Test Page

Hi Edhard -

Could you please share with us your app link, so we can test it?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Service - Failed to "Import as Response" in Test Page

Please specify the steps to reproduce your issue.

Edhart Jones
Posts: 0
Joined: Sun Nov 01, 2015 2:07 am

Service - Failed to "Import as Response" in Test Page

Go to App Editor.

  1. Create New: Service - Name: MapleFM; Service type: REST
  2. When the Settings page pops up after creation, enter the URL: http://maple.fm/api/search
  3. Go into Request tab. In the Query String, enter the parameter: server; value: 2.
  4. Go into Test tab. Click the Test button.
  5. WARNING! Browser may freeze and slow. It will take a few minutes to finish the response.
    5a. Meanwhile if you're curious what the response will be, open a new tab in the browser and go into site: http://maple.fm/api/search?server=2
  6. It will be a huge information in JSON. Click: Import as Response
  7. WARNING! Browser may freeze and slow. It will take a few minutes to finish attempt of import.
  8. The status code after completion will be in red font color, telling you about a failure and bad formatting.
Edhart Jones
Posts: 0
Joined: Sun Nov 01, 2015 2:07 am

Service - Failed to "Import as Response" in Test Page

Just to let everyone know, my problem isn't solved. I don't know why it's marked as answered automatically.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Service - Failed to "Import as Response" in Test Page

Edhart - we are working on your issue, we will post an update here when we have news about it.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Service - Failed to "Import as Response" in Test Page

Hello Edhart,

Your issue is related with amount of the data in that service.
Please add all response parameters manually. E.g. for your service: http://prntscr.com/8yomvp

Return to “Issues”