403 Error on AJAX Request in add new item (collection field)

I have normal content type which has 12 collection fields each field has unlimited value when i try to click add new item on any field it gives me ajax error

An AJAX HTTP error occurred. HTTP Result Code: 403 Debugging information follows. Path: /?q=system/ajax StatusText: Forbidden ResponseText: 

I have another content type and also has collection field with unlimited value .. but it works without any problem so please help me why some content type has error and the other doesn’t have

by the way: i use D7 and i upgraded it to 7.35 but this problem was before the upgrading

i have checked all the answers in the Drupal Answers but unfortunately did it help

edit:

ResponseText: @import url("https://example.org/modules/system/system.base.css?nlmla7"); @import url("https://example.org/modules/system/system.base-rtl.css?nlmla7"); @import url("https://example.org/modules/system/system.menus.css?nlmla7"); @import url("https://example.org/modules/system/system.menus-rtl.css?nlmla7"); @import url("https://example.org/modules/system/system.messages.css?nlmla7"); @import url("https://example.org/modules/system/system.messages-rtl.css?nlmla7"); @import url("https://example.org/modules/system/system.theme.css?nlmla7"); @import url("https://example.org/modules/system/system.theme-rtl.css?nlmla7"); @import url("https://example.org/sites/all/modules/date/date_api/date.css?nlmla7"); @import url("https://example.org/sites/all/modules/date/date_api/date-rtl.css?nlmla7"); @import url("https://example.org/sites/all/modules/date/date_popup/themes/datepicker.1.7.css?nlmla7"); @import url("https://example.org/sites/all/modules/date/date_repeat_field/date_repeat_field.css?nlmla7"); @import url("https://example.org/modules/field/theme/field.css?nlmla7"); @import url("https://example.org/modules/field/theme/field-rtl.css?nlmla7"); @import url("https://example.org/sites/all/modules/field_hidden/field_hidden.css?nlmla7"); @import url("https://example.org/modules/node/node.css?nlmla7"); @import url("https://example.org/sites/all/modules/recieve_orders/css/orders_styles.css?nlmla7"); @import url("https://example.org/modules/search/search.css?nlmla7"); @import url("https://example.org/modules/search/search-rtl.css?nlmla7"); @import url("https://example.org/modules/user/user.css?nlmla7"); @import url("https://example.org/modules/user/user-rtl.css?nlmla7"); @import url("https://example.org/sites/all/modules/views/css/views.css?nlmla7"); @import url("https://example.org/sites/all/modules/views/css/views-rtl.css?nlmla7"); @import url("https://example.org/sites/all/modules/admin_menu/admin_menu.css?nlmla7"); @import url("https://example.org/sites/all/modules/admin_menu/admin_menu-rtl.css?nlmla7"); @import url("https://example.org/sites/all/modules/admin_menu/admin_menu.uid1.css?nlmla7"); @import url("https://example.org/sites/all/modules/ctools/css/ctools.css?nlmla7"); @import url("https://example.org/sites/all/modules/adminimal_admin_menu/adminimal_admin_menu.css?nlmla7"); @import url("https://example.org/modules/shortcut/shortcut.css?nlmla7"); @import url("https://example.org/modules/shortcut/shortcut-rtl.css?nlmla7"); @import url("https://example.org/sites/all/themes/adminimal_theme/css/reset.css?nlmla7"); @import url("https://example.org/sites/all/themes/adminimal_theme/css/style.css?nlmla7"); @import url("https://example.org/sites/all/themes/adminimal_theme/css/style-rtl.css?nlmla7"); @import url("https://example.org/sites/all/themes/adminimal_theme/css/mobile.css?nlmla7"); @import url("https://example.org/sites/all/themes/adminimal_theme/css/tablet.css?nlmla7");ySite.org/sites/all/themes/adminimal_theme/css/tablet.css?nlmla7");  

and there are too many custom modules in my site

but the thing which make me more conflicted is why it doesn’t give error in the other content type

Sponsored by SupremePR
This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

403 Error on AJAX Request in add new item (collection field)

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.