Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object doesn't support property or method 'headers' #111

Open
dlecina opened this issue Jan 27, 2017 · 2 comments
Open

Object doesn't support property or method 'headers' #111

dlecina opened this issue Jan 27, 2017 · 2 comments

Comments

@dlecina
Copy link

dlecina commented Jan 27, 2017

Hello,

We are getting the following error in our project:

TypeError: Object doesn't support property or method 'headers'
   at responseError (ms-appx://42cbe9b5-feba-4973-882c-ba8d8fc0c427/js/core/angular-oauth2.js:31:17)
   at Anonymous function (ms-appx://42cbe9b5-feba-4973-882c-ba8d8fc0c427/js/core/angular.min.js:131:10)
   at m.prototype.$eval (ms-appx://42cbe9b5-feba-4973-882c-ba8d8fc0c427/js/core/angular.min.js:145:336)
   at m.prototype.$digest (ms-appx://42cbe9b5-feba-4973-882c-ba8d8fc0c427/js/core/angular.min.js:142:412)
   at m.prototype.$apply (ms-appx://42cbe9b5-feba-4973-882c-ba8d8fc0c427/js/core/angular.min.js:146:111)
   at l (ms-appx://42cbe9b5-feba-4973-882c-ba8d8fc0c427/js/core/angular.min.js:97:320)
   at J (ms-appx://42cbe9b5-feba-4973-882c-ba8d8fc0c427/js/core/angular.min.js:102:34)
   at t.onload (ms-appx://42cbe9b5-feba-4973-882c-ba8d8fc0c427/js/core/angular.min.js:103:4)

Debugging reveals this is indeed the case:

image

This only seems to happen some of the time, but I cannot seem to reproduce the success case consistently.

Any ideas?

@ruipenso
Copy link
Member

ruipenso commented Feb 3, 2017

Will need more details. Is this a browser related issue?

@dlecina
Copy link
Author

dlecina commented Feb 6, 2017

This is a WinJS app. I did some digging and this might be caused by using GET on a local resource, which we sometimes do, but I have not had the chance to confirm yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants