Posted: June 8, 2017 at 12:26 pm
|
While calling the api ( http://iregister.ie/v2/wp-json/ee/v4.8.36/registrations/27704) using Postman using basic auth , I’m getting an below error – |
|
This issue was posted formerly on https://eventespresso.com/topic/authentication-issue-with-api-missing-permissions-are-ee_read_registrations/ But the issue re-generated again |
Hi Alan, Are you sending along the username and password using Basic Auth? |
|
|
Yes, I am using msyadav.88@gmail.com as username |
Hi Alan, Along with the username and password, does the WordPress account associated with that username have the needed capabilities? These include ee_read_registrations. |
|
|
I am using the appplication password created from my wordpress profile page. |
ee_read_registrations is a capability. Is the user account you are logging into an admin account? You can use a plugin such as User Role Editor to view/edit the capabilities on an account.
You need to host the image and post a link here, we have some suggestions for how to upload screenshots here: https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots |
|
|
Above are the screenshots of my admin account profile and user role editor. |
|
|
|
<!– copy and paste. Modify height and width if desired. –> |
Hi Alan, I’m afraid the screenshots you posted here do not give us any information we can work with. If you can complete the form on this secure page someone from EE staff can investigate further. |
|
Hi Alan, We were able to get the authentication issue cleared away by adding this to the site’s .htaccess file:
The above code is from the mobile apps troubleshooting wiki, but the same fix applies if it’s a FCGI server when making authenticated calls by other means. |
|
|
Thanks for your help Josh. Looks good now. |
The support post ‘Authentication Issue with api – Missing permissions are: ee_read_registrations’ 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.