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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Invalid URI: The Uri string is too long issue while retrieve data using fetchxml and batch request

(0) ShareShare
ReportReport
Posted on by 756

Hi,

We used to fetchxml retrieve records from CRM. We used batch request but it throws below error.

{"Message":"Invalid URI: The Uri string is too long.","ExceptionMessage":"Invalid URI: The Uri string is too long.","ExceptionType":"Microsoft.Crm.CrmHttpException"

We have long fetchxml so e used batch request still facing same issue. we follow link https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/223201/request-url-too-long-for-fetchxml-query-types/707735 but it also did not work.

So how to resolve this issue.

Thanks!

I have the same question (0)
  • Suggested answer
    Mohamed Sanuj Basheer Profile Picture
    540 on at

    Dear Partner,

    Curently URI string only supports 32768 characters and as the UCI uses a batch, the long query is inside the URL of the inner request. This is by design.

    Please help to mark this as answered, if this post help you.

    Regards,

    Mohamed Sanuj Basheer

  • Inogic Profile Picture
    756 on at

    Hi,

    Thanks for your reply.

    Is there any way to handle it.

    Thank!

  • Anubha Soni Profile Picture
    35 on at

    Do you have Any idea that how we can solve it, I am also facing the same issue but didn't find any solution.

    please suggest possible solutions for this issue, I also tried adding CustomViewFilter Function then also same error is coming.

    Thanks!

    Anubha

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 156

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 71 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 54 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans