How to update Mongodb?
I'm new to dev and I keep getting the errors as below:
[Error] Origin https://db-test-89x.pages.dev is not allowed by Access-Control-Allow-Origin. Status code: 204
[Error] Fetch API cannot load https://ap-southeast-1.aws.data.mongodb-api.com/app/data-dxseo/endpoint/data/v1/action/insertOne due to access control checks.
[Error] Failed to load resource: Origin https://db-test-89x.pages.dev is not allowed by Access-Control-Allow-Origin. Status code: 204 (insertOne, line 0)
Which I can update my db with the same code on postman. I'm so lost what wrong with my code?
0 Replies