This likely points to an issue with the X-CSRF-TOKEN you are passing in the request. Do you have problems with POST requests to any of our other endpoints?
Thanks for the quick response.
I do not have this issue with any other legacy API endpoint.
I’m able to send GET/POST/DELETE requests without issue to other endpoints.
Please note (off the top of my head) the endpoint tester says it returns 200 however inside the network request tab in the Dev Tools the request returns 403. I can test this later when I get back from work and send screenshots.
If you need any other information to narrow down the problem please let me know!
Upon further testing I find that when using the docs page to test the endpoint it sends two requests.
The first request fails with a 403 citing the XSRF token validation error, the second request succeeding because it resends the request with the XSRF token sent in the response headers from the first request.
I’m still unsure as to why even though when I send a HTTP request with a valid XSRF token in a single request it returns 403.
Am I supposed to just accept that the first request will always fail and then resend an identical request with the returned XSRF token in the response headers?