Support

EE App

Posted: March 14, 2017 at 9:13 pm

Viewing 6 reply threads


lupineart

March 14, 2017 at 9:13 pm

Hi,

Getting the error: “Sorry, you are not allowed to list events. Missing permissions: ee_read_events…”

I searched forums and found the thread: https://eventespresso.com/topic/ee4-app-error-requested-resource-could-not-be-found/#post-203548

I installed/activated the JSON Basic Authentication plugin, as well as changed the line in .htaccess but get the same error. Plugins and WP all say up to date. Application Passwords also installed/activated.

Any advice?

Thanks,

Derek


Josh

  • Support Staff

March 14, 2017 at 9:28 pm

Hi Derek,

It looks like your Coming soon plugin is blocking all REST API requests.


lupineart

March 14, 2017 at 9:43 pm

I deactivated that plug-in, but still got the same error.. Just to confirm – the website is just http://lupineart.com. I didn’t have the /wp-admin at the end, but doesn’t seem to matter (different error – “The requested resource could not be found…”


Josh

  • Support Staff

March 14, 2017 at 10:03 pm

With the coming soon plugin deactivated, a REQUEST to this URL works now:

http://www.lupineart.com/wp-json/ee/v4.8.36/events/

A REQUEST to any of the routes that require authentication, like

http://www.lupineart.com/wp-json/ee/v4.8.36/registrations/

as well as the apps, need to pass the Authorization header. Since it appears that the Authorization header isn’t getting passed to your site when the app sends it in the request, you can follow this troubleshooting guide:

https://eventespresso.com/wiki/ee4-event-apps/#troubleshooting

If you follow the guide and still get the same error, then you should probably contact your host to see if they will allow passing the Authorization header.


lupineart

March 14, 2017 at 10:46 pm

Thanks, Josh. I will check it out.


lupineart

March 16, 2017 at 10:24 pm

Hi Josh,

I went through the steps as you indicated but no luck.

I got this response from my host (powweb):

We apologize for any inconvenience this may have caused you. HTTP Basic authentication can’t be used if you’re running PHP as a CGI. We run PHP as CGI module instead of Apache module. We did not get any information about the HTTP Authorization header or HTTP basic Authorization. Is it same as HTTP Basic authentication? Please use the tool at https://www.powweb.com/controlpanel/htaccess/?m=password to password protect directories on our server.

If you have any further questions, please chat with us at http://www.powweb.com/chat/.

Sincerely,

Dhananjaya J
Technical Specialist

Here is a shot of the settings on powweb: https://www.dropbox.com/s/mumls5ca5b1p6b8/Screenshot%202017-03-16%2021.21.32.png?dl=0

Any further suggestions? Is this even doable?

Thanks,

Derek


Josh

  • Support Staff

March 17, 2017 at 3:45 pm

Hi Derek,

You can ask your host if they can change your server to run PHP from the Apache module instead of from CGI. The apps currently only use Basic Authentication.

You could also try the solution outlined here:

https://github.com/georgestephanis/application-passwords/wiki/Basic-Authorization-Header—-Missing

But if all else fails, you’ll either need your host to cooperate, or get a new host.

Viewing 6 reply threads

The support post ‘EE App’ 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