Support

Home Forums Event Espresso Premium Error message on Event Espresso App

Error message on Event Espresso App

Posted: August 27, 2021 at 8:42 am


tnt-graphics

August 27, 2021 at 8:42 am

If i want to scan an attandee, the following error message appears:
Sorry, you are not allowed to list events. Missing permissions:
ee_read_events,ee_read_others_events,ee_read_private_events

The operation couldn’t be completed.

It’s important to fix this. We have an event in a month.

Thank you for your help.


Hazel Apuhin

August 27, 2021 at 10:07 pm

Hi,

I hope you are well.

Sorry to hear that you have issues using the Event Espresso app scanner.

If you get this error

Sorry, you are not allowed to list events. Missing permissions:
ee_read_events,ee_read_others_events,ee_read_private_events

that means you need to modify the .htaccess to allow authorization for the app to work properly.

Please refer to this helpful documentation on how to troubleshoot when you get this error.

Did this help?


tnt-graphics

September 2, 2021 at 8:32 am

Hello,

Thank you for your help. Butunfortunately it still does not work.

We have not used the mentioned plugin and b) have made the htaccess extension as requested.

What can we do now?

Thanks and best regards.


Tony

  • Support Staff

September 2, 2021 at 9:20 am

Hi there,

Does this only happen when scanning an attendee?

If you log into the app, you can view the events, correct?

If you tap on one of the events, can you view the attendees for that event?


tnt-graphics

September 3, 2021 at 6:53 am

Hello,

Unfortunately, the message comes right when I log in. When I want to click on an event, the message comes. And also when I want to scan a participant.


Tony

  • Support Staff

September 3, 2021 at 10:36 am

It does sound like your host is blocking the authorization header as your getting it on every request (the reason I asked the above was to see if you only got the error on POST requests).

Install the WP REST API Log plugin on the site.

Go to Settings -> REST API Log, make sure its enabled.

Use the app and log in.

In the WP Dashboard again, go to Tools -> REST API Log

You should see the requests sent to the server.

Click on one, can you see an ‘authorization’ header in the ‘Request headers’ section?

Note – do not post the value here on the forums.


tnt-graphics

September 7, 2021 at 6:38 am

Where can i post the Authorization” headers? do you have an e-mailadress?

Thanks


Tony

  • Support Staff

September 7, 2021 at 8:39 am

I don’t need the header/value but do the requests set to Event Espresso endpoints show an authorization header?

If you can send temp login details over using this form:

https://eventespresso.com/send-login-details/

I can take a look at the request and see if anything stands out there.


Tony

  • Support Staff

September 9, 2021 at 8:26 am

Thank you for the login details.

I captured the request and it does look like your host is blocking the Authorization header. The only request that includes is is the site_info request sent by the app to gather info on your site (including if the auth header functions).

I also tested the registration endpoint using PostMan and again it looks like its an authenticated request.

Can you post the full contents of your current .htaccess file, please?


tnt-graphics

September 15, 2021 at 6:38 am

This reply has been marked as private.


Tony

  • Support Staff

September 15, 2021 at 11:04 am

Yeah, that set-up usually works.

I think you’ll need to contact your host and have them investigate this, I suspect they are blocking the authorization header here but I’m not sure why on some requests and not others.


tnt-graphics

September 16, 2021 at 2:02 am

alright, will do.
please tell me which exact auth headers are getting blocked so I can make a detailed ticket. thank you


Tony

  • Support Staff

September 16, 2021 at 9:41 am

Hi there,

I had a nother look over your site to be sure and I noticed something else.

You have a Plugin Organizer plugin installed and have Event Espresso disabled globally, which means it wont be running on the REST requests sent by the apps.

Can you stop disabling Event Espresso across the site and see if it works then?


tnt-graphics

September 17, 2021 at 1:34 am

I have enabled EE globally now.
Login in the app still returns “Missing permissions” error.

please give me some details so I can open the ticket with the hoster.
thank you


Tony

  • Support Staff

September 17, 2021 at 2:10 am

You simply ask them if they are blocking the ‘authorization’ header on their server.

You can test this outside of the app by sending a request using basic auth to:

{domain}/wp-json/ee/v4.8.36/registrations/

Use something like PostMan to send a request using Basic Auth to that endpoint. If you get something like this returned:

{"code":"rest_registrations_cannot_list","message":"Sorry, you are not allowed to list registrations. Missing permissions: ee_read_registrations,ee_read_others_registrations","data":{"status":403}}

The request isn’t authenticating.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso