Posted: August 27, 2021 at 8:42 am
|
If i want to scan an attandee, the following error message appears: The operation couldn’t be completed. It’s important to fix this. We have an event in a month. Thank you for your help. |
|
Hi, I hope you are well. Sorry to hear that you have issues using the Event Espresso app scanner. If you get this error
that means you need to modify the Please refer to this helpful documentation on how to troubleshoot when you get this error. Did this help? |
|
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. |
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? |
|
|
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. |
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. |
|
|
Where can i post the Authorization” headers? do you have an e-mailadress? Thanks |
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. |
|
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 |
|
|
This reply has been marked as private. |
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. |
|
|
alright, will do. |
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? |
|
|
I have enabled EE globally now. please give me some details so I can open the ticket with the hoster. |
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:
Use something like PostMan to send a request using Basic Auth to that endpoint. If you get something like this returned:
The request isn’t authenticating. |
|
|
So the hoster has confirmed that they are not blocking any ‘authorization’ header. What we were able to see when testing with PostMan is that no matter if you provide BasicAuth or not (or even wrong auth credentials) – you get the same error. So the hoster asks if you could enable some sort of debug mode or provide more accurate feedback on your responses. Please provide with more detailed ways of testing as we cannot make any progress if all error messages are the same. |
That’s expected, we currently return 403 for any request that requires authentication but can not be authenticated. If you/they are referring to using 401 vs 403 when the user is found but can’t be authenticated then we opt not to do so for a few reasons, but its considered better practice not to return a ‘user found but password doesn’t match’ error and just stick with what is essentially ‘username or password is incorrect’.
May I ask how I can be more accurate here? The request is looking for the ‘authentication’ header and the value of which it uses to pull in the user and the exact method used can be found HERE and we already check multiple locations to try and find that data. The error you are getting means the request cant be authenticated but I can’t tell you why. If you’d like I can add some debugging code to the above function to see what is actually making it through to the server (we don’t have a debugging mode that will do that for you) but for that, I’ll need FTP/SFTP credentials which can send using the same form as earlier: |
|
The support post ‘Error message on Event Espresso 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.