Closed as not planned
Description
By default requests are blocked by the WAF due to User-Agent header with the response:
{
"error": {
"message": "\"please identify yourself with a properly formatted user-agent containing application name, version and contact information. thank you!\"",
"status_code": 403,
"waf_code": 13799
}
}
Overriding the baseOptions on the configuration to add a custom User-Agent resolves the issue:
const configuration = new vrchat.Configuration({
username,
password,
baseOptions: {
headers: { "User-Agent": "Test" },
},
});
Are you able to add a custom User-Agent by default or update the example code to include a custom User-Agent so it's clear that it's required?
Metadata
Metadata
Assignees
Labels
No labels