Best pdok developers;
At this moment the panden polygon is not working in our website.The error occurred last two weeks ago.Before it was working well. I have not changed any thing on that code but it comes suddenly
Here is the error that i see on the console.
“Access to XMLHttpRequest at ‘https://bag.basisregistraties.overheid.nl/api/v1/verblijfsobjecten/0268010000012268’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status.”
I use javascript in the front end and node js in the backend. I use api-key which I have recieved from pdok last year to fetch data from pdok(bag).
Could you help me fixing the error please.
I have tried to fix the cors in my node js server but not succeed.
I think the error come from the blockage of CORS at the server of BAG to our website.
The name of our website is https://www.duurzamedata.nl
Any help please