Request blocked by CORS

Hey @memolipd!

I’m not sure if you’re facing the same problem that I did or not but just in case it’s the same:
I remembered when using my token in setToken or monday.api(query, {options: {token: token}})
You don’t need to supply a token to be able to make requests on the user’s behalf.

My problem was that I got vague errors such as “not authenticated” or “validation error” which was a total head scratcher.

The solution was to set the scope of what you need. I completely forgot to update the scopes so I suggest checking them all off on the beginning. Here’s my post with the solution: Monday API SDK Not Authenticated or Graphql validation errors