Support

Home Forums Event Espresso Premium API Issues

API Issues

Posted: August 9, 2013 at 2:06 am


Keith Portman

August 9, 2013 at 2:06 am

Do you need to have your EE registration code installed in order for API to work?

As Super Admin, i’ve been able to retrieve my session key, but anytime i try to generate a API request, i get an error message about not having access to an endpoint.


Josh

  • Support Staff

August 9, 2013 at 5:29 am

Hi Keith,

Is this a single site installation or a WordPress multisite network?

Can you let us know the steps you are taking when you’re using the API? Are you trying to use one of the mobile apps?


Keith Portman

August 9, 2013 at 8:50 am

Yes. I’ve installed a multi-site for 10 different regions. The main site doesn’t have EE installed. The entire site doesn’t have EE network activated, just the 10 other region pages. These pages run class registration for about 40 schools each (each school has a 13-day multi-date class/event per half of the year). I was just messing with API to see if it i could get output. The only thing i could do successfully (with my super admin) was get a session key. I ran a GET for all info from a specific event (using .Event_id=). Then i tried other GET commands via my web browser. Nothing worked. I kept on getting a message about not having access to the endpoint).

Sorry to add another question to the mix, but i’m curious as to why some of my multisites cannot shake this message: “Event Espresso must be configured. Go to the Organization Settings page to configure the plugin “Page Settings.” Despite configuring EE the same on all multisites, a couple always have this message. What’s up with that?

Thanks for your help!

Keith


Josh

  • Support Staff

August 9, 2013 at 10:02 am

If you can post the commands you were trying it would be useful to know what they are.

With the configuration message that you are seeing: Event Espresso checks in the database (specifically in the _options table) for these three values:

event_page_id
return_url
notify_url

If any of these returns 0 or empty it displays the message. If you look into the database for the sites that you are seeing this error on you can check to see if they have page ID values or not.

The support post ‘API Issues’ 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