Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

NG02800: Missing JSONP support in HttpClient configuration

Description

Angular produces this error when you attempt a JSONP request without providing the necessary support for it in the HttpClient configuration. To enable JSONP support, you can do one of the following:


Debugging the error

Make sure that the JSONP support is added into your application either by calling the withJsonpSupport() function (when the provideHttpClient() is used) or importing the HttpClientJsonpModule module as described above.

See Make a JSONP request for more info.