You may want to trying changing
https://API-KEY:API-PASSWORD@MYSTORE.myshopify.com/admin/variants/#853811435.json
to
https://API-KEY:API-PASSWORD@MYSTORE.myshopify.com/admin/variants/853811435.json
Removing the hash before the variant ID should eliminate the error that you're seeing!