api
api copied to clipboard
ErrorCode 8 on IndividualGroupInvite endpoint
Hi I have an issue with the IndividualGroupInvite endpoint. Here is my code:
payload = {
"GroupApplicationRequest": {
"message": "",
}
}
headers = {
"X-API-Key": BUNGIE_API_KEY,
"Authorization": f"Bearer {admin_token['access_token']}"
}
response = requests.post(url=url, json=payload, headers=headers)
response = response.json()
It worked before when inviting users but now it gives me the error:
{'ErrorCode': 8, 'ThrottleSeconds': 0, 'ErrorStatus': 'ParameterInvalidRange', 'Message': 'One or more parameters are outside the range of valid values. Please correct them, and try again.', 'MessageData': {}}
I already tried {message: ""}
and so on but still get the same error...
Does anyone have any other suggestions?
Is it this spare "f" in your code? 😏
Is it this spare "f" in your code? 😏
Maybe I should have mentioned it but it is written in python and that is not a spare "f" but used for formatting strings.
Ah, sorry. My Python is quite rusty, so it looked like a syntax issue being outside the "".
I'm happy to independently test the endpoint for you, but it won't be until I'm home several hours from now. Hopefully, someone else will have some insights before then.
Good luck!