Support

Home Forums Event Espresso Premium App Error

App Error

Posted: December 5, 2016 at 12:52 pm

Viewing 6 reply threads


jsukdeo

December 5, 2016 at 12:52 pm

I have an error on the sign in app – Missing Permissions: ee_read_events, ee_read_others_events, ee_read_private_events

I have edited the .htaccess
checked user roles for event admin… and those permissions are allowed.
The JSON page isn’t blank.

Any ideas what else could be the issue?

Jay


jsukdeo

December 5, 2016 at 12:55 pm

Wordpress 4.6.1
EE 4.9.22.p
App 2.5


Josh

  • Support Staff

December 5, 2016 at 1:04 pm

Hi there,

You can follow the troubleshooting guide from the documentation:

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


jsukdeo

December 5, 2016 at 1:17 pm

Thanks for your reply… As mentioned above, I’ve searched for the solution, and found those troubleshooting steps:
1. This isn’t my error, I have a published event.
2. I have correct versions installed, loaded the permalinks page just in case that will help.
3. permalinks is set to Postname
4. I’m not using iThemes plugin
5. my JSON page loads, EE decaf is in the plugin list, but not activated. Is there anywhere else I should be looking?
6. Edited .htaccess for authentication.
7. Powweb is my host… I don’t know if they use ngnix server.

Need more help? – that’s what I’m attempting.
Do you have any other suggestions?


Josh

  • Support Staff

December 5, 2016 at 1:34 pm

It’d be helpful to find out if the web server is apache, ngnix, or even something else.

Along with that, you can install the REST API Log plugin and you can log the requests from the app to capture more verbose error messages than what the apps can display.


jsukdeo

December 5, 2016 at 1:52 pm

RedHat Servers with Apache

REST API installed…
The site info replies 200, the rest replies 403
same permission error

{
“X-Powered-By”: “PHP\/5.6.6”,
“Set-Cookie”: “ee_cookie_test=5845d26245f5f; expires=Tue, 06-Dec-2016 204730 GMT; Max-Age=86400; path=\/”,
“Expires”: “Thu, 19 Nov 1981 085200 GMT”,
“Cache-Control”: “no-store, no-cache, must-revalidate, post-check=0, pre-check=0”,
“Pragma”: “no-cache”,
“Content-Type”: “application\/json; charset=UTF-8”,
“X-Robots-Tag”: “noindex”,
“Link”: “<http\/\/www.stepbermuda.org\/wp-json\/>; rel=”https\/\/api.w.org\/””,
“X-Content-Type-Options”: “nosniff”,
“Access-Control-Expose-Headers”: “X-WP-Total, X-WP-TotalPages”,
“Access-Control-Allow-Headers”: “Authorization”,
“Allow”: “GET”
}

{
“data”: {
“code”: “rest_events_cannot_list”,
“message”: “Sorry, you are not allowed to list events. Missing permissions: ee_read_events,ee_read_others_events,ee_read_private_events”,
“data”: {
“status”: 403
}
},
“headers”: {
“Allow”: “GET”
},
“status”: 403
}


Josh

  • Support Staff

December 5, 2016 at 2:29 pm

Can you copy and paste the entire contents of the .htaccess file’s WordPress section and post to a paste bin or gist?

Viewing 6 reply threads

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