This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
When using Web.Contents URLs over 2000ish characters in length have resulted in an error:
"The underlying connection was closed: the connection was closed unexpectedly"
Is this error caused by the length of the URL?
Solved! Go to Solution.
@Anonymous,
I haven't found any infomation about maximum URL for Web.Contents() function. For OData.Feed() function, there is a MaxUriLength property.
In your scenario, I would recommend you use Fiddler to track what is going on in the background.
Regards,
Lydia
@Anonymous,
I haven't found any infomation about maximum URL for Web.Contents() function. For OData.Feed() function, there is a MaxUriLength property.
In your scenario, I would recommend you use Fiddler to track what is going on in the background.
Regards,
Lydia
Thanks, it turns out that there is a limit to the URL length as part of the API.
I do have a follow on question related to the conversion of a GET request, which can't handle the URL length, to a POST request which should be able to. That question is posted here. If you are able to have a look at this it would be much appreciated.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 |