Child pages
  • Error: Including Client-Id header in CORS request
Skip to end of metadata
Go to start of metadata

I've just added the Client-Id header to my (working) queries as described in the CMR API docs. When issuing the request from the browser, I get (full URL truncated for brevity):

XMLHttpRequest cannot load https://cmr.earthdata.nasa.gov/search/... . Request header field Client-Id is not allowed by Access-Control-Allow-Headers in preflight response.

Does the Client-Id header need to be added to the list of allowed headers (https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS), or am I doing something wrong?

  • No labels

1 Comment

  1. I'm not sure what's happening here. I filed issue CMR-2448 - Getting issue details... STATUS  for this. We'll take a look soon and see if we can identify the issue.