News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Create Team Messaging Tutorial Python Error
Tags: developer sandbox
Jun 30, 2023 at 7:18am   •   4 replies  •  0 likes
Nathan Allen

I apologize if this has been solved already, but I haven't found a thread addressing this. When pasting & running the code snippet from the Create Team Messaging Team Tutorial, I get the following error: 'keys must be str, int, float, bool or None, not builtin_function_or_method'. I figured it was the id variable that causes the error, but when changing it to "id", I then get a HTTP424 error. Much assistance/direction would be appreciated. Thank you!screenshot-2023-06-30-101637.png

4 Answers
answered on Jul 4, 2023 at 10:49pm  

@Nathan Allen I tested it out in my workspace and it works for me. As Phong mentioned, did you make sure to substitute it with the extensionIds from your account? If that doesn't work either. I would need to investigate this further by looking into your app settings. Can you please submit a ticket here developers.ringcentral.com/support/create-case


 0
answered on Jun 30, 2023 at 11:59am  

Do you have any idea why it would throw a HTTP424 error after correctly adding single quotes?


 0
on Jun 30, 2023 at 1:58pm   •  0 likes

Do you provide valid "id"? Where did you read the id and specify in your code?

The ids in the code are just examples.

answered on Jun 30, 2023 at 9:02am  

Thanks for reporting this! Yes, it is a mistake in the example code. The keys must be quoted as 'id'.

We will fix that and commit a change in our next dev guide updates.

UPDATED: This is weird too. Checking the local source code I could see that the params are well quoted. Even the the one within the # comments 'email': '"...".

Anyway, we will update it accordingly soon.


 0
answered on Jun 30, 2023 at 11:59am  

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us