Skip to content

Cual es el formato response  #10

Description

@alecamilla

Hola a todos:

Estoy usando
data = {"contact": {"email": email}}
response = client.contacts.create_or_update_contact(data)
if response['contact']['id']:
en algunas ocasiones me entrega este error en el if ->TypeError: string indices must be integers

¿Cual es el formato del response? para poder controlar si viene correctamente o ocurrió un error?

muchas gracias
Saludos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions