CORS error at live server

0

I got Pyton Django project and my project work on local server but when i deploy on server i got this error.I used IIS Manager for deployment.Other DB connection must be work because i can reach other APIs.By the way my user is superuser.

Access to XMLHttpRequest at 'https://website.websites.com:8000/integration/sync' from origin 
'https://website.website.com' has been blocked by CORS policy: No 'Access-Control-                
Allow-Origin'header is present on the requested resource.
And here is my API;POST https://website.website..com:8000/integration/sync net::ERR_FAILED 500 
(Internal Server  Error) 

By the way OTher API are working without problem

I search about error and they suggest me to change setting.py but under below is my settings;

ALLOWED_HOSTS = ['*']
CORS_ALLOW_ALL_ORIGINS = True
CORS_ALLOW_CREDENTIALS = True 
MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',

 I use for deployment IIS may be its about it.
 So they said that its about Autontication 

IIS I tried every combination but it still doesnt work,