so i am trying to make a simple script that lets me buy some roblox items using python and for some reason its just not working. it says the reason is “invalid arguments”
session = requests.Session()
session.cookies['.ROBLOSECURITY'] = Cookie
response = session.post(f'https://economy.roblox.com/v1/purchases/products/{id}',data={'expectedCurrency': 1, 'expectedPrice': 0, 'expectedSellerId': 1},headers={"X-CSRF-TOKEN": xc})
thats what i am currently doing to try buy the item.
Response:
text:
{"purchased":false,"reason":"InvalidArguments","productId":9560392730,"statusCode":500,"title":"Invalid Parameter","errorMsg":"Invalid arguments.","showDivId":"TransactionFailureView"}