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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Null skip token in Lis...
Power Automate
Unanswered

Null skip token in List Rows

(0) ShareShare
ReportReport
Posted on by 41

Hi all, 

 

I am wanting to take the output of a select function that has come from an initial List Rows function, and pass it into another List Rows function, but am getting a 'Malformed XML' error back as the skip token is empty.

 

This is the code for the skip token:

if
(
	empty
	(
		outputs('List_rows')?['body/@odata.nextLink']
	),
	'',
	decodeUriComponent
	(
		last
		(
			split
			(
				uriQuery(outputs('List_rows')?['body/@odata.nextLink']),
				'skiptoken='
			)
		)
	)
)

 

I have read somewhere that the first List Rows function should produce a skip token but I am not able to get it to work properly. 

 

Any help would be much appreciated. 

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,709 Super User 2026 Season 1 on at

    When you run this through Postman do you see an actual skiptoken being produced?

  • Hannah123 Profile Picture
    41 on at

    No, there is no skiptoken being produced.

  • alx.kpk Profile Picture
    54 on at

    Did you make sure to use it as a valid expression and not just by pasting it as a simple string?

    AlexanderK_0-1687428413878.png

     

  • virtulex Profile Picture
    2 on at

    Hello
    I ran into the same problem.
    The point is, that as soon as you set a variable or anything (even empty/null) in the field "skip token" appears in the parameters. (Check "Peek code").
    While when you don't set anything in the form, this parameter does NOT appear.

    So, if made a workarround. 
    1) List rows (without skip token)
    2) get Skip token from first List rows.

    3) List rows with skip token (not empty)

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard