Page 1 of 1

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

Posted: Sun Nov 01, 2015 2:07 am
by Edhart Jones

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.


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

Posted: Sun Nov 01, 2015 3:42 pm
by Illya Stepanov

Hi Edhard -

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


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

Posted: Sun Nov 01, 2015 8:45 pm
by Edhart Jones

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

Posted: Sun Nov 01, 2015 9:51 pm
by Illya Stepanov

Please specify the steps to reproduce your issue.


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

Posted: Sun Nov 01, 2015 10:42 pm
by Edhart Jones

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.

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

Posted: Tue Nov 03, 2015 2:11 am
by Edhart Jones

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


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

Posted: Tue Nov 03, 2015 6:44 pm
by Illya Stepanov

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


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

Posted: Tue Nov 03, 2015 8:02 pm
by Serhii Kulibaba

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