The server responded with a list for a single data record

Error: The server responded with a list for a single data record. The response must be an object.status: -1

How do I fix this error? I’ve been trying to get 1 record out of my database for the second day. I get a collection of my data safely, but when it comes to the output of a single record, there are some errors. What’s wrong? … here is my api, you can see it safely in the public domain, you don’t need authorization here. https://api.directual.com/good/api/v5/data/books/getBooks?appID=24d7a6b0-e19b-43b2-9e65-5387da43c113&sessionID=

Hi George, welcome to the forums! The data configurator is indeed quite particular about the type of response that you get. Could you post a screenshot of how your GET RECORD resource has been configured at the moment? Only thing I can think of now is that perhaps you’re using “payload” as your response path, which results in the response being a list.

I think you need to put “payload” in the response key path

Selection_012

Thank you for replying!
I’m glad my account is unlocked again and I can write posts :slight_smile:

so, i solved this problem a long time ago and yes i spelled the payload path.
Now I have a different problem and it’s probably an Appgyver bug. Watch this video to get a better understanding of what is going on.

The problem: when we create an auth page, the Open page does not work for some reason. This should not be the case!
When a user opens the app, the Signup page appears, but if they are already registered, I want to take them to the Login page. But my onClick trigger on the button does nothing :frowning: why?

https://share.vidyard.com/watch/h6N2FCxTXEKFNa3h1jxxfT?

Steve Stava does the same thing in his video, watch minute 25 https://www.youtube.com/watch?v=rfEftw_nTP8&t=1500

Hi George, make sure that “Allow page to be opened without authentication” is enabled on the page that you want to open in the initial view. :slight_smile:

everything works. I apologize for thinking it was an Appgyver bug!

1 Like