Skip to content

Gem Release 6.1.0 Passing Post Body Results in Error #117

Closed
@kjanoudi

Description

@kjanoudi

Issue Summary

When running version 6.1.0, and executing a call to a properly formatted request to the client.contactdb.recipients.post method, the resulting error is undefined method bytesize' for #Array:0x00007f11061d84e0`

Steps to Reproduce

  1. Use gem version 6.1.0 (6.0.4 does not have this issue)
  2. Follow code steps here: https://github.com/sendgrid/sendgrid-ruby/blob/master/USAGE.md#post-contactdbrecipients
  3. See resulting error: undefined method bytesize' for #Array:0x00007f11061d84e0`

Exception/Log

image

Technical details:

  • sendgrid-ruby version: 6.1.0
  • ruby version: 2.6.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions