I tried to use excel automate script to fetch project data and got error "failed to fetch", however I can get correct response if I access the URL on web browser. Does anyone know why it's not function with excel script? Please help~ thanks.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
most likely a CORS issue
While hitting the API with a browser works, it does not when you e.g. use javascript to make the API call...
Best I got is to use Fusion as your endpoint for OfficeScript. It's lame and I've asked Support but was told the Dev team considers this a security issue
Views
Replies
Total Likes
Thanks for your reply, the problem is I don't have fusion in my plan🤷
Views
Replies
Total Likes
If you run an endpoint using Python, you can hit that endpoint from Excel, and then use Python to call the API.
Views
Replies
Total Likes
I would raise a ticket nonetheless with support so they see their CORS block for API calls is a bit (in my eyes) misguided
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies