Python Code: Calling "Deals" API results in 404 Error.

Python Code: Calling "Deals" API results in 404 Error.

Good evening, I wrote a small python code to scrape the data from a selected record and then copy the information I need into another website. 
We have renamed the "Deals" module to "Opportunities", however the API name remains as "Deals" which is fine. But I wanted to make sure you knew that I made that change and understand when calling for the API its still "Deals".

When I test my API access tokens it says they are working, however, when it attempts to pull the record based on record ID, it cant find it. It seems to be getting stuck looking for the "Deals" module. I've tried different record ID's just to test and they didnt help either. 

Access token obtained successfully:

Error retrieving record from Zoho CRM: 404 {"code":"INVALID_URL_PATTERN","details":{},"message":"Please check if the URL trying to access is a correct one","status":"error"}



HEre is a snippet of the code with my API tokens removed for security purposes. 

# Zoho CRM API details: Change these as needed
MODULE = "Deals" # Use the API name as provided by Zoho CRM
RECORD_ID = "2281947000106969055" # Your confirmed record ID
ZOHO_API_URL = f"https://www.zohoapis.com/crm/v2/{MODULE}/{RECORD_ID}"
    • Sticky Posts

    • How to Add Users to your Organization in ZohoMail?

      A better clarity so you can create other users to start using Zoho Mail. You can directly Add Users from the Control Panel to your Organization. You can invite users with the existing email address. If the person (user) already uses ZohoCRM, then you can import users from Zoho CRM. You can also import them using a .csv file. (if you are planning to add them in Bulk)  In this topic, We will be discussing on how to Add and Invite users only.  The Import options are self explanatory. ____________________________________________________________________________________________________________