Expected Behavior
The following example from the readme should work:
|
await courier.users.put("<USER_ID>", { |
|
accounts: [{ account_id: "ACCOUNT_ID", profile: { foo: "bar" } }], |
|
profile: { name: "John Doe" }, |
|
}); |
Actual Behavior
Receiving 400 error:
{
message: 'must NOT have additional properties',
type: 'invalid_request_error'
}
Steps to Reproduce the Problem
- Make request as per readme
- Catch thrown response
- Inspect response
Specifications
- Version: 5.0
- Platform: node18
- Subsystem: macos
Expected Behavior
The following example from the readme should work:
courier-node/README.md
Lines 831 to 834 in 041a204
Actual Behavior
Receiving 400 error:
Steps to Reproduce the Problem
Specifications