Code 415 Callback URL not approved



I have a website that uses Sign in with Twitter.
I have this problem on a live site and on a local server. The site is written on AngularJS and YII2.
I set the callback URL to my callback URL, but the error still remains.
Please tell me what I did wrong. Please help.