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}"