web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Unexpected Error with ...
Power Pages
Answered

Unexpected Error with Query Parameter in Power Pages Portal

(1) ShareShare
ReportReport
Posted on by 30
I'm encountering an issue in my Power Pages portal when using year as a query parameter in the URL. Here’s the scenario:
  1. When the URL is structured as ?activationId=<value>&year=<value>, I receive the error:
    "The year query parameter is not supported."
  2. However, if I swap the order to ?year=<value>&activationId=<value>, it works fine.

The year parameter's value is correct (a valid record ID), and the error only occurs when year is used in the second position of the query string.

I've ensured proper URL encoding for all parameters..

How can I use year as a query parameter without causing this issue?

Error.png
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
     
    Some query parameter names (like year) may conflict with reserved words or built-in functions in the Power Pages framework, causing unpredictable behavior. or The order of query parameters may affect how they are parsed if specific logic is implemented in the portal or custom scripts.
     
    The simplest fix is to avoid using year as a query parameter. Instead, use an alternative name like yearId, yr, or customYear. - ?activationId=<value>&yearId=<value>
     
    let me know whether it fixes your issue?
  • CU26111754-0 Profile Picture
    30 on at
    i rename year with other param also but it also not working,

    The error  i got on console 
    {"code":"9004010B","message":"The [param_name] query parameter is not supported"}
  • Verified answer
    CU26111754-0 Profile Picture
    30 on at
    The error is solved but instead of passing as query param can we use js cookies or session storage.How we can retrieve them using liquid code. I didn't found anything for that
  • Suggested answer
    Fubar Profile Picture
    8,463 Super User 2026 Season 1 on at
    Liquid can't read local storage etc as it runs server side - you would have to implement that in JavaScript on the receiving page.
     
    My question would be, how were you adding the url paramter that you were having the issue with? (and is it a field value on the current record?)
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,398 Most Valuable Professional on at
    I just tested this and didn't have any issues, do you have any custom Liquid code that could be validating on all request params that could be throwing this error? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 45

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 14 Most Valuable Professional

#3
DP_Prabh Profile Picture

DP_Prabh 13

Last 30 days Overall leaderboard