dimitrispiro | 2020-06-05 10:56:37 UTC | #1
Is there any way to copy Work Plans from one Management Unit to another?
I am trying to GET and POST Work Plans via the API but I receive the 0 HTTP request was blocked by CORS error.
tim.smith | 2020-06-05 17:28:41 UTC | #2
CORS errors are caused by making API requests from a domain that's not in your configured redirect URIs for the oauth client or the API request is malformed in such a way that it's not hitting the API and therefore won't have CORS headers to the response. Try making the exact same request using the same auth token outside of a browser and see what the response is; only browsers enforce CORS.
TheRealKevinGlinski | 2020-06-10 12:29:03 UTC | #3
Responses blocked by CORS can sometimes have more details on the error if you open the network tab in your browser's developer tools. I've seen before where server side errors from the API will not contain the CORS headers so the browser thinks in was blocked. Looking at the response body in the browser dev tools can get you those additional details
system | 2020-07-11 12:29:06 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 7969