$1diffto must be set to a non-negative number, prev, next or cur.
Link to this page:
https://wiki.pastlives.space/MediaWiki:Apierror-baddiffto