Title: 403 Error and Uncaught TypeError
Last modified: January 14, 2021

---

# 403 Error and Uncaught TypeError

 *  [boroguide](https://wordpress.org/support/users/boroguide/)
 * (@boroguide)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/403-error-and-uncaught-typeerror/)
 * I’m trying to resolve a couple of errors that I’m seeing in Chrome DevTools Console
   while using Quantcast Choice.
 * The first is an Uncaught TypeError with the cmp.js file, which returns the following:
 *     ```
       TypeError: n is not a function
           at e.apiCall (cmp2.js:1)
           at new e (cmp2.js:1)
           at Module.<anonymous> (cmp2.js:1)
           at n (cmp2.js:1)
           at Object.<anonymous> (cmp2.js:1)
           at n (cmp2.js:1)
           at cmp2.js:1
           at cmp2.js:1
       ```
   
 * The second is a “Failed to load resource: the server responded with a status 
   of 403 ()” error for the the following:
    `https://quantcast.mgr.consensu.org/
   choice/1mk94hmLDvjYg/www.boroguide.co.uk/.well-known/noniab-vendorlist.json?timestamp
   =1610656531509`
 * I’ve searched through the forums and the Quantcast Help Centre to find out what
   I’ve done wrong – but none of the suggestions have so far resolved the issue.
   What am I missing?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F403-error-and-uncaught-typeerror%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [autimedia](https://wordpress.org/support/users/autimedia/)
 * (@autimedia)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/403-error-and-uncaught-typeerror/#post-13927593)
 * **This problem has now been fixed.**
 * I am getting a similar error.
 * I tested my site in incognito and consent is being shown every single time. I
   am not ready to show ads anyway, but I want to be compliant.
 *     ```
       You can't use publisher legal basis 
       on global consent scope.
       e @ cmp2ui-en.js:2
       quantcast.mgr.consensu.org/choice/
       Q29c-SzLmxusA/
       au-ti.com/
       .well-known/noniab-vendorlist.json?
       timestamp=1611063015203:1 
       Failed to load resource: the server 
       responded with a status of 403 ()
       cmp2.js:1 the cookies was saved successfully
       ```
   
 * I had an error with my site that in the QC CMP dashboard my site was displaying
   as **www.**au-ti.com when in fact it is au-ti.com. Remove the www. and it is 
   now being directed to the correct site. Same problem would occur if your site
   is registered with a www. prefix and you had it registered in your QC CMP dashboard
   as a non-www.
    -  This reply was modified 5 years, 3 months ago by [autimedia](https://wordpress.org/support/users/autimedia/).
    -  This reply was modified 5 years, 3 months ago by [autimedia](https://wordpress.org/support/users/autimedia/).
    -  This reply was modified 5 years, 3 months ago by [autimedia](https://wordpress.org/support/users/autimedia/).
 *  Thread Starter [boroguide](https://wordpress.org/support/users/boroguide/)
 * (@boroguide)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/403-error-and-uncaught-typeerror/#post-13934648)
 * Yeah, I thought that was part of my issue – but the property in my display is
   showing www as it should be.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘403 Error and Uncaught TypeError’ is closed to new replies.

 * ![](https://ps.w.org/quantcast-choice/assets/icon-256x256.png?rev=1879905)
 * [Quantcast Choice](https://wordpress.org/plugins/quantcast-choice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quantcast-choice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quantcast-choice/)
 * [Active Topics](https://wordpress.org/support/plugin/quantcast-choice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quantcast-choice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quantcast-choice/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [js](https://wordpress.org/support/topic-tag/js/)
 * [quantcast](https://wordpress.org/support/topic-tag/quantcast/)

 * 2 replies
 * 2 participants
 * Last reply from: [boroguide](https://wordpress.org/support/users/boroguide/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/403-error-and-uncaught-typeerror/#post-13934648)
 * Status: not resolved