Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Getting an [ERROR] The request failed with the following error: [Invalid URI: The Uri scheme is too long.].

Posted on by 344

We discovered an issue when we query Dynamics CRM and the result returns more than 5000 rows. The URI returned for the next batch of 5000 rows fails because there are colons in a timestamp field of the request. The initial request encodes the URI and escapes the colons with a %3a. This seems to work fine. The URI returned from CRM does not escape the colons and throws the  [ERROR] The request failed with the following error: [Invalid URI: The Uri scheme is too long.].  It seems to also be related to the number of fields we select or size of the actual URI. But in our testing,  when we change the colons manually to %3a in the subsequent URI works properly. 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans