Skip to main content
Participant
Feb 5, 2021 12:39 PM UTC
Question

XMLHttpRequest cannot load <url> due to access control checks [IOS]

Hello,

I’m trying to make a http request to local network and I received the following error:

 

Preflight response is not successful
XMLHttpRequest cannot load <url> due to access control checks.
Failed to load resource: Preflight response is not successful

 

My request: 

 

axios
 .get('<url>')
 .then(res => {
  console.log(res)
 }).catch((err) => {
  if (err.status === 500) {
   // error
  } else {
   // error
  }
 })

 

I tried to set some headers to this request like Access-Control-Allow-Origin, Access-Control-Allow-Headers, Access-Control-Allow-Methods. Unfortunately it didn’t work.

 

This issue is only in iOS app. In android app or browsers the request works properly.

 

Can anyone help me? Thanks!

3 replies

Participant
Feb 4, 2025 5:33 PM UTC

Hey, I am expiriencing the same problem, have you solved it?

Translate
Tarun Saini
Community Manager
Community Manager
Feb 10, 2025 11:15 AM UTC

Hi 

@matyas_0975

,

 

Welcome to the community! Could you please elaborate more about the issue you're experiencing? Which version of the Creative Cloud Desktop App and operating system you're on? 

 

We're here to help, just need some info.

 

Regards,

Tarun

Translate
Jeffrey_A_Wright
Legend
Feb 25, 2021 1:37 PM UTC

Vesselin, which Adobe software or service is your question in relation to?

Translate