Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 error posting to "wp-json/eventorg/v1/booking" #517

Open
Boeeerb opened this issue May 20, 2022 · 1 comment
Open

403 error posting to "wp-json/eventorg/v1/booking" #517

Boeeerb opened this issue May 20, 2022 · 1 comment

Comments

@Boeeerb
Copy link

Boeeerb commented May 20, 2022

I've noticed that if some fields are left blank, aside from the name and email, attempting to click Book will return a 403 error to the POST, leaving the user with the spinner.

image

You can try it on https://www.jackcollisonsoccerschool.com/course/milton-keynes-half-term-camp-5/
Leave either Child Name blank, or not choose a ticket, I have been able to replicate this with being logged in or not.

I haven't been able to pinpoint if it's a server or Event Organiser issue

@stephenharris
Copy link
Owner

Hi @Boeeerb I've just tested this out, and I get a "403 Forbidden Access to this resource on the server is denied!" message. That's neither a WordPress nor an Event Organiser error message, so I suspect you have some configured on the server that's doing that. Possibly even a plug-in that restricts access to certain endpoints on the WP REST API.

(In case it helps I noticed curl -v https://www.jackcollisonsoccerschool.com/wp-json/eventorg/v1/event/1/availability returns the same, but curl -v https://www.jackcollisonsoccerschool.com/wp-json/wp/v2/posts returns actual posts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants