# 404 on measures tab

**URL:** <https://community.sonarsource.com/t/404-on-measures-tab/27045>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube\
**Created:** [June 25, 2020, 8:00am UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045 "2020-06-25T08:00:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![echapman](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/echapman/32/12842_2.png) [@echapman](https://community.sonarsource.com/u/echapman)\
**Post date:** [June 25, 2020, 8:00am UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/1 "2020-06-25T08:00:53Z")

</div>

Template for a good bug report, formatted with [Markdown](https://commonmark.org/help/):

- SonarQube 8.3.1 build 34397 Enterprise edition
- 404 on measures api
- Open measures page on any project
- No work arounds exist

---

<div class="post-metadata">

**Author:** ![pierreguillot](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/pierreguillot/32/46022_2.png) [@pierreguillot](https://community.sonarsource.com/u/pierreguillot)\
**Post date:** [June 25, 2020, 8:02am UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/2 "2020-06-25T08:02:05Z")

</div>

Hello, could you elaborate a bit please?

---

<div class="post-metadata">

**Author:** ![echapman](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/echapman/32/12842_2.png) [@echapman](https://community.sonarsource.com/u/echapman)\
**Post date:** [June 25, 2020, 8:06am UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/3 "2020-06-25T08:06:12Z")

</div>

Sorry, was uploading a screen shot.

> **[error](https://ibb.co/y6ztbXY)**
>
> Image error hosted in ImgBB

Happening against URL:  
[https://XXXXXX/api/measures/component?additionalFields=period&component=ApiTeam\_OracleDatabase\_Accounting&metricKeys=SMELL\_COUNT\_ABBREVIATIONS\_USAGE%2Cnew\_technical\_debt%2CSMELL\_COUNT\_ANTI\_PATTERN%2CSMELL\_COUNT\_BAD\_DESIGN%2CSMELL\_COUNT\_BAD\_FRAMEWORK\_USAGE%2CSMELL\_COUNT\_BAD\_LOGGING%2Cblocker\_violations%2Cbugs%2Cburned\_budget%2Cbusiness\_value%2Cclasses%2Ccode\_smells%2CSMELL\_DEBT%2Ccognitive\_complexity%2Ccomment\_lines%2Ccomment\_lines\_density%2Cbranch\_coverage%2Cnew\_branch\_coverage%2Cconditions\_to\_cover%2Cnew\_conditions\_to\_cover%2Cconfirmed\_issues%2Ccoverage%2Cnew\_coverage%2Ccritical\_violations%2Ccomplexity%2Cdirectories%2Cduplicated\_blocks%2Cnew\_duplicated\_blocks%2Cduplicated\_files%2Cduplicated\_lines%2Cduplicated\_lines\_density%2Cnew\_duplicated\_lines\_density%2Cnew\_duplicated\_lines%2Ceffort\_to\_reach\_maintainability\_rating\_a%2Cfalse\_positive\_issues%2Cfiles%2Cfunctions%2Cgenerated\_lines%2Cgenerated\_ncloc%2CSMELL\_COUNT\_HOW\_COMMENT%2CSMELL\_COUNT\_INDECENT\_EXPOSURE%2Cinfo\_violations%2Cviolations%2Cline\_coverage%2Cnew\_line\_coverage%2Clines%2Cncloc%2Clines\_to\_cover%2Cnew\_lines\_to\_cover%2Csqale\_rating%2Cnew\_maintainability\_rating%2Cmajor\_violations%2CSMELL\_COUNT\_MEANINGLESS\_COMMENT%2CSMELL\_COUNT\_MIDDLE\_MAN%2Cminor\_violations%2CSMELL\_COUNT\_MISSING\_DOCUMENTATION%2CSMELL\_COUNT\_MISSING\_IMPLEMENTATION%2CSMELL\_COUNT\_MISSING\_TEST%2CSMELL\_COUNT\_MULTIPLE\_RESPONSIBILITIES%2Cnew\_blocker\_violations%2Cnew\_bugs%2Cnew\_code\_smells%2Cnew\_critical\_violations%2Cnew\_info\_violations%2Cnew\_violations%2Cnew\_lines%2Cnew\_major\_violations%2Cnew\_minor\_violations%2Cnew\_security\_hotspots%2Cnew\_vulnerabilities%2CSMELL\_COUNT\_NON\_COMPLIANCE\_WITH\_STANDARDS%2CSMELL\_COUNT\_NON\_EXCEPTION%2CSMELL\_COUNT\_ODDBALL\_SOLUTION%2Copen\_issues%2CSMELL\_COUNT\_OVERCOMPLICATED\_ALGORITHM%2CSMELL\_COUNT\_PRIMITIVES\_OBSESSION%2Cprojects%2Calert\_status%2CSMELL\_COUNT\_REFUSED\_BEQUEST%2CSMELL\_COUNT\_REINVENTED\_WHEEL%2Creleasability\_rating%2Creliability\_rating%2Cnew\_reliability\_rating%2Creliability\_remediation\_effort%2Cnew\_reliability\_remediation\_effort%2Creopened\_issues%2Csecurity\_hotspots%2Csecurity\_hotspots\_reviewed%2Cnew\_security\_hotspots\_reviewed%2Csecurity\_rating%2Cnew\_security\_rating%2Csecurity\_remediation\_effort%2Cnew\_security\_remediation\_effort%2Csecurity\_review\_rating%2Cnew\_security\_review\_rating%2Cskipped\_tests%2CSMELL\_COUNT%2CSMELL\_COUNT\_SOLUTION\_SPRAWL%2CSMELL\_COUNT\_SPECULATIVE\_GENERALITY%2Cstatements%2Cteam\_size%2Csqale\_index%2Csqale\_debt\_ratio%2Cnew\_sqale\_debt\_ratio%2CSMELL\_COUNT\_OTHER%2CSMELL\_COUNT\_UNCOMMUNICATIVE\_NAME%2Cuncovered\_conditions%2Cnew\_uncovered\_conditions%2Cuncovered\_lines%2Cnew\_uncovered\_lines%2Ctest\_execution\_time%2Ctest\_errors%2Ctest\_failures%2Ctest\_success\_density%2Ctests%2CSMELL\_COUNT\_USELESS\_TEST%2Cvulnerabilities%2Cwont\_fix\_issues%2CSMELL\_COUNT\_WRONG\_LANGUAGE%2CSMELL\_COUNT\_WRONG\_LOGIC](https://XXXXXX/api/measures/component?additionalFields=period&component=ApiTeam_OracleDatabase_Accounting&metricKeys=SMELL_COUNT_ABBREVIATIONS_USAGE%2Cnew_technical_debt%2CSMELL_COUNT_ANTI_PATTERN%2CSMELL_COUNT_BAD_DESIGN%2CSMELL_COUNT_BAD_FRAMEWORK_USAGE%2CSMELL_COUNT_BAD_LOGGING%2Cblocker_violations%2Cbugs%2Cburned_budget%2Cbusiness_value%2Cclasses%2Ccode_smells%2CSMELL_DEBT%2Ccognitive_complexity%2Ccomment_lines%2Ccomment_lines_density%2Cbranch_coverage%2Cnew_branch_coverage%2Cconditions_to_cover%2Cnew_conditions_to_cover%2Cconfirmed_issues%2Ccoverage%2Cnew_coverage%2Ccritical_violations%2Ccomplexity%2Cdirectories%2Cduplicated_blocks%2Cnew_duplicated_blocks%2Cduplicated_files%2Cduplicated_lines%2Cduplicated_lines_density%2Cnew_duplicated_lines_density%2Cnew_duplicated_lines%2Ceffort_to_reach_maintainability_rating_a%2Cfalse_positive_issues%2Cfiles%2Cfunctions%2Cgenerated_lines%2Cgenerated_ncloc%2CSMELL_COUNT_HOW_COMMENT%2CSMELL_COUNT_INDECENT_EXPOSURE%2Cinfo_violations%2Cviolations%2Cline_coverage%2Cnew_line_coverage%2Clines%2Cncloc%2Clines_to_cover%2Cnew_lines_to_cover%2Csqale_rating%2Cnew_maintainability_rating%2Cmajor_violations%2CSMELL_COUNT_MEANINGLESS_COMMENT%2CSMELL_COUNT_MIDDLE_MAN%2Cminor_violations%2CSMELL_COUNT_MISSING_DOCUMENTATION%2CSMELL_COUNT_MISSING_IMPLEMENTATION%2CSMELL_COUNT_MISSING_TEST%2CSMELL_COUNT_MULTIPLE_RESPONSIBILITIES%2Cnew_blocker_violations%2Cnew_bugs%2Cnew_code_smells%2Cnew_critical_violations%2Cnew_info_violations%2Cnew_violations%2Cnew_lines%2Cnew_major_violations%2Cnew_minor_violations%2Cnew_security_hotspots%2Cnew_vulnerabilities%2CSMELL_COUNT_NON_COMPLIANCE_WITH_STANDARDS%2CSMELL_COUNT_NON_EXCEPTION%2CSMELL_COUNT_ODDBALL_SOLUTION%2Copen_issues%2CSMELL_COUNT_OVERCOMPLICATED_ALGORITHM%2CSMELL_COUNT_PRIMITIVES_OBSESSION%2Cprojects%2Calert_status%2CSMELL_COUNT_REFUSED_BEQUEST%2CSMELL_COUNT_REINVENTED_WHEEL%2Creleasability_rating%2Creliability_rating%2Cnew_reliability_rating%2Creliability_remediation_effort%2Cnew_reliability_remediation_effort%2Creopened_issues%2Csecurity_hotspots%2Csecurity_hotspots_reviewed%2Cnew_security_hotspots_reviewed%2Csecurity_rating%2Cnew_security_rating%2Csecurity_remediation_effort%2Cnew_security_remediation_effort%2Csecurity_review_rating%2Cnew_security_review_rating%2Cskipped_tests%2CSMELL_COUNT%2CSMELL_COUNT_SOLUTION_SPRAWL%2CSMELL_COUNT_SPECULATIVE_GENERALITY%2Cstatements%2Cteam_size%2Csqale_index%2Csqale_debt_ratio%2Cnew_sqale_debt_ratio%2CSMELL_COUNT_OTHER%2CSMELL_COUNT_UNCOMMUNICATIVE_NAME%2Cuncovered_conditions%2Cnew_uncovered_conditions%2Cuncovered_lines%2Cnew_uncovered_lines%2Ctest_execution_time%2Ctest_errors%2Ctest_failures%2Ctest_success_density%2Ctests%2CSMELL_COUNT_USELESS_TEST%2Cvulnerabilities%2Cwont_fix_issues%2CSMELL_COUNT_WRONG_LANGUAGE%2CSMELL_COUNT_WRONG_LOGIC)

---

<div class="post-metadata">

**Author:** ![echapman](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/echapman/32/12842_2.png) [@echapman](https://community.sonarsource.com/u/echapman)\
**Post date:** [August 25, 2020, 11:13pm UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/4 "2020-08-25T23:13:23Z")

</div>

**BUMP**  
Re-adding the image as it has expired in the original request.

> **[sonarquberror](https://ibb.co/4ffvRD9)**
>
> Image sonarquberror hosted in ImgBB

To give further context, I have no idea what this tab does. I have simply installed the enterprise software, scanned a project and then when I go into the project and click on the measures tab within the application, I was presented an error dialog(see screen shot) and it gave me an error because the resource it tried to access on the server is non existent. I have been asked if its because its doing something when it accesses that page, but I really have no idea whats supposed to be on this page so don’t know what its doing. It almost looks like the installation failed to install a resource.

---

<div class="post-metadata">

**Author:** ![echapman](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/echapman/32/12842_2.png) [@echapman](https://community.sonarsource.com/u/echapman)\
**Post date:** [November 10, 2020, 2:42pm UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/5 "2020-11-10T14:42:46Z")

</div>

Anything at all on this?

---

<div class="post-metadata">

**Author:** ![echapman](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/echapman/32/12842_2.png) [@echapman](https://community.sonarsource.com/u/echapman)\
**Post date:** [March 17, 2021, 3:57am UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/6 "2021-03-17T03:57:03Z")

</div>

Disappointing to see we’re not getting much support here

---

<div class="post-metadata">

**Author:** ![anemitoff](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@anemitoff](https://community.sonarsource.com/u/anemitoff)\
**Post date:** [July 15, 2024, 3:35pm UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/7 "2024-07-15T15:35:03Z")

</div>

I solved this problem by increasing the max querystring length by editing the web.config file in wwwroot to include the following

```auto
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.web>
    <customErrors mode="Off"/>
    <httpRuntime maxQueryStringLength = "10000" />
  </system.web>
  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxQueryString="10000" />
      </requestFiltering>
    </security>
  </system.webServer>
</configuration>

```

---

<div class="post-metadata">

**Author:** ![wgyger](https://avatars.discourse-cdn.com/v4/letter/w/e480ec/32.png) [@wgyger](https://community.sonarsource.com/u/wgyger)\
**Post date:** [November 22, 2024, 3:32pm UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/8 "2024-11-22T15:32:30Z")

</div>

I had the same issue and increasing max query string length resolve it. Thanks for posting.

---

<div class="post-metadata">

**Author:** ![joetcochran](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@joetcochran](https://community.sonarsource.com/u/joetcochran)\
**Post date:** [March 10, 2025, 6:48pm UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/9 "2025-03-10T18:48:59Z")

</div>

I’ve made this update on my web server, but it seems to have no effect. Application logs still report this error.

I’ve made the change in the web.config in the physical path where the sonar server runs from.

restarted IIS and sonar service, to no avail.

---

<div class="post-metadata">

**Author:** ![Gobljnn](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@Gobljnn](https://community.sonarsource.com/u/Gobljnn)\
**Post date:** [April 10, 2025, 12:15am UTC](https://community.sonarsource.com/t/404-on-measures-tab/27045/10 "2025-04-10T00:15:29Z")

</div>

This worked for me! Thanks so much!  
I am on Developer edition with Sonarqube version of 2025.1.0.102418.  
Deployed on Azure as a Webapp
