Failure to create acontact in rapidpro 8.1

32 views
Skip to first unread message

nakayiza shamim

unread,
Oct 8, 2024, 3:19:15 AM10/8/24
to rapidpro-dev

Hello Team,


When I try to create a contact in rapidpro 8.1, I get this issue


temba.mailroom.client.MailroomException: ('contact/create', {'org_id': 1, 'user_id': 2, 'contact': {'name': 'Test', 'language': '', 'urns': ['tel:+256701815021'], 'fields': {}, 'groups': []}}, {'error': 'invalid or missing authorization header'})

Rowan Seymour

unread,
Oct 8, 2024, 9:05:09 AM10/8/24
to nakayiza shamim, rapidpro-dev
You need to ensure that the MAILROOM_AUTH_TOKEN Django setting is set to the same secret string as the MAILROOM_AUTH_TOKEN env variable for mailroom.

--
You received this message because you are subscribed to the Google Groups "rapidpro-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapidpro-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rapidpro-dev/31475404-a135-4dbf-94b0-fe38ca2054e8n%40googlegroups.com.

nakayiza shamim

unread,
Oct 15, 2024, 3:53:12 PM10/15/24
to rapidpro-dev
Thanks it worked

nakayiza shamim

unread,
Oct 15, 2024, 4:02:24 PM10/15/24
to rapidpro-dev
On fixing the token issue, i ran into another issue while creating a contact:

Exception Type: HTTPError at /contact/create/
Exception Value: 500 Server Error: Internal Server Error for url: http://localhost:8090/mr/contact/create

Reply all
Reply to author
Forward
0 new messages