Support

Home Forums Pre-Releases Can't log in – Blog returned invalid data

Can't log in – Blog returned invalid data

Posted: February 27, 2013 at 2:04 am

Viewing 8 reply threads


Thomas Beham

February 27, 2013 at 2:04 am

EE v3.1.30-7P
JSON/XML API Version 2.0.0.B

Hi, I installed the plugin by uploading/activating it, just like I’d do for any other plugin.
Then I configured the API Settings as outlined in the API Documentation:
Session timeout: Never
Allow public access: Allow

Testing the JSONAPI, returned the expected HTTP status code 200:
http://sc3.solusio.com/espresso-api/v1/events/public.pretty_json

When accessing
http://sc3.solusio.com/espresso-api/v1/events/public
I get the message: “Sorry, can’t log in – Blog returned invalid data”

When accessing
http://sc3.solusio.com/
I can log in, but no event gets found…

Regards,
Thomas


Thomas Beham

February 27, 2013 at 2:20 am

Forgot to mention:
I am using the EE app dated 24.Sept. 2012, on an iPhone 3GS with iOS6.0.1


Dean

February 27, 2013 at 4:14 am

Hi Thomas,

The API is still new to me so I’m learning it too.

I get the message: “Sorry, can’t log in – Blog returned invalid data”

I dont see that, I get a 200 OK message from that URL http://d.pr/i/8IfE

What exactly are you trying to do?


Thomas Beham

February 27, 2013 at 7:19 am

Hi Dean,

Let me reformulate my problem description:

Testing the JSONAPI, returned the expected/successful HTTP status code 200 (as you also mentioned in your reply):
http://sc3.solusio.com/espresso-api/v1/events/public.pretty_json

When accessing this URL as endpoint URL in the app, I get:
http://sc3.solusio.com/espresso-api/v1/events/public
I get the pop-up message in the app: “Sorry, can’t log in – Blog returned invalid data”

When accessing this URL as endpoint URL in the app, I get:
http://sc3.solusio.com/
I can log in, but no event gets found…

Maybe the problem here is that I am not using the latest EE-HD app, but the previous non-HD app version?

Thanks, Thomas


Seth Shoultes

  • Support Staff

February 27, 2013 at 8:14 am

Hey guys,

The iPhone and Android apps are not yet compatible with the json api. These apps require the old espresso services api.


Thomas Beham

February 28, 2013 at 1:48 am

Hi Seth,
Where can I get the old espresso services api from?


Dean

February 28, 2013 at 2:34 am

From here https://eventespresso.com/wiki/espresso-ticketing/


Thomas Beham

March 4, 2013 at 4:10 am

Hi,
I also tried now with an iPad3 with iOS6, but I still get this logon error.
Please tell me what must be entered into the field “Endpoint URL”?


Dean

March 4, 2013 at 5:01 am

Hello,

The End point is the website and it must contain the http

eg

http://www.yoursitename.com

Viewing 8 reply threads

The support post ‘Can't log in – Blog returned invalid data’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso